//#region src/foundations/future/future.d.ts /** * A Promise whose incoming value can be hot swapped. * @typeParam T The type of the value that the promise will resolve to. * * @remarks * Can be constructed like a Promise, or from an existing Promise. */ declare class Future extends Promise { private fate; private resolve; private reject; done: boolean; constructor(executor: Promise | ((resolve: (value: T) => void, reject: (reason?: any) => void) => void)); private pass; private fail; use(value: Promise | T): void; } //#endregion export { Future }; //# sourceMappingURL=index.d.ts.map