import { Awaitable } from 'justypes'; type Asyncify = Awaitable>; type Promisify = { [Index in keyof Args]: Asyncify; }; export declare function asyncify(fn: (this: This, ...args: Args) => Awaitable): (this: This, ...args: Promisify) => Promise; export {};