/** * Returns a promise that resolves after given amount of time. Use the default * value of `0` to wait for the next tick. * * @param ms - The number of milliseconds to wait before resolving. Defaults to `0`. * @param options - Optional options object. * @param options.signal - An optional AbortSignal to cancel the timeout. When aborted, the promise rejects with the signal's reason. */ export declare function createTimeout(ms?: number, { signal }?: { signal?: AbortSignal; }): Promise;