/** Wait through several unchanged frames, rather than mistaking one quiet frame for rest. */ export declare const IDLE_SETTLE_MS = 160; export declare function nextQuietTime(previous: number, changed: boolean, dt: number): number; /** * Opt-in UI-runtime RAF loop. Inputs wake it without a JS-thread round trip. * `tick` returns true while work changed or a continuous effect needs frames. * `prepare` must read INPUTS only: subscribing to tick outputs causes feedback. * A generation token makes queued frames harmless after replacement/unmount. */ export declare function useDemandFrameLoop(enabled: boolean, prepare: () => unknown, tick: (dt: number) => boolean): () => void; //# sourceMappingURL=useDemandFrameLoop.d.ts.map