import { ThreadGenerator } from '../threading'; /** * Wait until the given time event. * * @remarks * Time events are displayed on the timeline and can be edited to adjust the * delay. By default, an event happens immediately - without any delay. * * @example * ```ts * yield waitUntil('event'); * ``` * * @param event - The name of the time event. * @param after - An optional task to be run after the function completes. */ export declare function waitUntil(event: string, after?: ThreadGenerator): ThreadGenerator; /** * Wait for the given amount of time. * * @example * ```ts * // current time: 0s * yield waitFor(2); * // current time: 2s * yield waitFor(3); * // current time: 5s * ``` * * @param seconds - The relative time in seconds. * @param after - An optional task to be run after the function completes. */ export declare function waitFor(seconds?: number, after?: ThreadGenerator): ThreadGenerator; //# sourceMappingURL=scheduling.d.ts.map