export interface Deferred<TResult> {
    promise: Promise<TResult>;
    resolve: (instance: TResult) => void;
    reject: (err: Error | string) => void;
}
export declare function getDeferred<TResult>(): Deferred<TResult>;
