/** * Callback for a fulfilled promise. * * @template T - The type of the response. * @callback ThenableCallback * @param {T} value - The response value. * @returns {T | PromiseLike | void} The processed response or a promise. */ export type ThenableCallback = ((value: T) => T | PromiseLike | void) | undefined | null;