export declare function promisifyCall(call: (cb: (error?: any, result?: T) => void) => void): Promise; export declare function promisifyCall(call: (cb: (error?: any) => void) => void): Promise; export declare function ensureValue(variable: T, value: T): T;