/** * 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 A Promise that resolves to the input value. */ export declare function asPromise(input: PromiseOrValue): Promise;