//#region src/promise/delay.d.ts /** * Returns a promise that resolves after a specified delay with an optional value. * * @template T - The type of the value to resolve with * @param ms - The number of milliseconds to delay * @param value - The optional value to resolve with (default: undefined) * @param signal - Optional AbortSignal that rejects the delay when aborted * @returns Returns a promise that resolves after the delay * * @example * await delay(1000); // Waits 1 second * * @example * const result = await delay(500, 'Hello'); * console.log(result); // 'Hello' after 500ms */ declare function delay(ms: number, value?: T, signal?: AbortSignal): Promise; //#endregion export { delay }; //# sourceMappingURL=delay.d.mts.map