/** * Shared toggle cooldown — ADR-314 §D1. * * Self-reported flags (rate-limited, quota-low) have zero server-side * verification (ADR-312's Phase 0 constraint carries over unchanged). A * cooldown on how often the flag can actually CHANGE state is cheap, * purely client-side friction against casual "always on" gaming or a * scripted flip-flop loop — it does not stop a determined abuser (that * needs the per-identity server-side quota ADR-314 flags as the real fix), * but it raises the bar above "one line in a shell script." */ export declare const TOGGLE_COOLDOWN_MS: number; /** True when `lastToggleAt` is within the cooldown window of `now`. */ export declare function cooldownActive(lastToggleAt: string | null, now: Date): boolean; /** Minutes remaining in the cooldown window — for user-facing messages. */ export declare function cooldownRemainingMin(lastToggleAt: string | null, now: Date): number; //# sourceMappingURL=toggle-cooldown.d.ts.map