export declare function promiseMethod(fn: (this: ThisArg, ...args: Args) => T): (this: ThisArg, ...args: Args) => Promise; export declare function promiseTimeout(promise: Promise, ms: number, message: string): Promise; export declare function promiseDelay(ms: number): Promise; export declare function promiseMapSeries(items: T[], mapper: (item: T, index: number) => Promise | R): Promise;