/** * Simple Map-based repeat cap for frontend hot-loop logging. * Callers decide how to emit; this only tracks whether another emit is allowed. */ export declare const DEFAULT_CLIENT_LOG_REPEAT_CAP = 10; /** * Increments the counter for `key` and returns whether the caller should emit * (true while count ≤ maxRepeats). */ export declare function shouldEmitLogRepeat(key: string, maxRepeats?: number): boolean; /** Current count for a key (0 if never seen). */ export declare function getLogRepeatCount(key: string): number; /** Test-only reset of repeat counters. */ export declare function resetLogRepeatCapForTests(): void; //# sourceMappingURL=logRepeatCap.d.ts.map