/** * Gets a {@link !Promise} that resolves after the specified duration. * * @param delayMs milliseconds of the delay, or `"infinite"` to wait indefinitely. * @param signal a signal used to cancel the returned Promise. * * @throws {!DOMException} the specified `signal` has been aborted. If the signal has been aborted with explicit reason, * the {@link AbortSignal.reason} will be thrown. * * @see [tc39/proposal-built-in-modules#35](https://github.com/tc39/proposal-built-in-modules/issues/35) * @see [whatwg/html#617](https://github.com/whatwg/html/issues/617) */ export declare function delay(delayMs: number | "infinite", signal?: AbortSignal): Promise; //# sourceMappingURL=delay.d.ts.map