export type LazyResult = PromiseLike & { value?: TValue; }; export type ResolvedLazyResult = PromiseLike & { value: TValue; }; /** * Calls the given async function only when the returned promise-like object is * awaited. Afterwards, it provides the resolved value synchronously as `value` * property. */ export declare function createLazyResult(fn: () => Promise): LazyResult; export declare function isResolvedLazyResult(result: LazyResult): result is ResolvedLazyResult;