export declare function wait(ms: number): Promise; export declare function promisify(fn: (...args: [...T, (err: Error | null, result?: R) => void]) => void): (...args: T) => Promise;