import type * as GraphBuilder from '@dxos/graph/GraphBuilder'; type ScheduleOptions = { strategy?: 'smooth' | 'interactive' | 'idle'; signal?: AbortSignal; }; export declare const scheduleTask: (callback: () => T | Promise, _options?: ScheduleOptions) => Promise; export declare const yieldOrContinue: (_priority: 'smooth' | 'interactive' | 'idle') => Promise; /** A frame budget that a user action can lift until its task ends. */ export type FrameBudget = GraphBuilder.FrameBudget & { /** Lets update flushes ignore the budget until the current task ends. */ flushBeforePaint(): void; }; export declare const makeFrameBudget: () => FrameBudget | undefined; export {}; //# sourceMappingURL=scheduler.d.ts.map