/** * Paces recording to a replay worker slower than the display. Recording as * soon as its queue frees sends frames in bursts, so instead they go out every * N refreshes, with N following the worker's recent replay time. */ export declare class ReplayPacer { private lastTime; private lastRecord; private intervals; private divisor; private settle; private nextProbe; private probing; private probeAfter; private backedUp; private recentBackups; /** * Called on every animation frame. Returns whether this one should record, * given the worker's replay time and whether its queue has room. */ shouldRecord(time: number, replayMs: number, accepts: boolean): boolean; private adapt; private setDivisor; }