/** * A Symbol which contains Thenable state. */ declare const THENABLE_SYMBOL: unique symbol; type WithThenableState = T & { [THENABLE_SYMBOL]?: ThenableState; }; /** * An object representing the status of a Thenable. */ export type ThenableState = { pending: boolean; result?: unknown; }; /** * Get or inject a state into a Thenable object. * @param target The Thenable to extend. * @returns The Thenable state instance. */ export declare const getThenableState: (target: WithThenableState>) => ThenableState; export {};