/** * A value that may be either a Promise resolving to T, or a synchronous value of type T. */ export type PromiseOrValue = Promise | T; /** * Wraps the input in a resolved Promise if it is not already a Promise. * * @param input - A value or Promise to normalize into a Promise. * @returns Resolves to the input value. * * @dbxUtil * @dbxUtilCategory promise * @dbxUtilTags promise, async, normalize, resolve, ensure */ export declare function asPromise(input: PromiseOrValue): Promise;