declare type Func = (...args: any[]) => any; declare type FunctionTuples = ([string, Func])[]; export declare class PseudoPromise { readonly _return: ReturnType; functionTuples: FunctionTuples; constructor(funcs?: FunctionTuples); static all: []>(pps: T) => PseudoPromise<{ [k in keyof T]: T[k] extends PseudoPromise ? T[k]["_return"] : never; }>; all: []>(pps: T) => PseudoPromise<{ [k in keyof T]: T[k] extends PseudoPromise ? T[k]["_return"] : never; }>; static object: (pps: { [k: string]: PseudoPromise; }) => PseudoPromise; static resolve: (value: T) => PseudoPromise; then: (func: (arg: ReturnType, ctx: { async: boolean; }) => NewReturn) => PseudoPromise ? U : NewReturn>; catch: (func: (err: any, ctx: { async: boolean; }) => NewReturn) => PseudoPromise ? U : NewReturn>; getValueSync: () => any; getValueAsync: Function; } export {};