/** * Throttled flush controller. * * A pure scheduling primitive — no business logic. The actual flush * work is provided via a callback. Manages timer-based throttling, * mutex-guarded flushing, and reflush-on-conflict. */ export declare class FlushController { private readonly doFlush; private flushInProgress; private flushResolvers; private needsReflush; private pendingTimer; private lastFlushTime; private completed; constructor(doFlush: () => Promise); /** Mark as completed — no more flushes after the current one. */ complete(): void; /** Cancel any pending deferred flush. */ cancel(): void; /** Wait for any in-progress flush to finish. */ waitForFlush(): Promise; /** * Throttled entry point. Schedules a flush respecting the throttle * interval. If called while a flush is in-flight, sets needsReflush. */ scheduleFlush(throttleMs: number): Promise; private flush; } //# sourceMappingURL=flush.d.ts.map