import { TypeBasic, TypeThenable, TypeAwaited } from '..'; export declare function then(v: TypeThenable, cb: (value: T, ctx: C) => any, ctx?: C): void; export declare function thenSafe(v: T, cb: (value: TypeAwaited, ctx: C) => any, ctx?: C): void; export declare function thenSafeAll(a: T, cb: (a: { -readonly [P in keyof T]: Awaited; }, ctx: C) => any, ctx?: C): void; export declare function timeout(ms?: number, value?: T): PromiseLike; export declare function thenable(executor: (resolve: (value: T) => void) => void): TypeThenable; export declare function __then_several_1(v: any, iam: [any[], number, [number], Function, any]): void;