/** * gh rate-limit hint (CC 2.1.198 parity — PARITY-SPOT-REMINDERS SR-2). * * CC appends a one-shot to a FOREGROUND Bash result when a `gh` invocation hits the * GitHub API rate limit, so the model sleeps/schedules instead of hammering retries. Anchors: * pretty.js:281399-281404 (`Bxa` — the reminder text), :281472-281473 (`m0p` command gate + `f0p` * output gate, both ported verbatim), :281426 (`h0p` = 60s throttle), :335536 (attach point — background * tasks are never hinted). sema delta (recorded): CC's closing clause names its ScheduleWakeup tool; * sema's wait primitive is the Monitor tool, so the clause is adapted — everything else is verbatim. */ /** Test seam: reset the process-wide throttle window (mirrors CC's module-level `Mxa`). */ export declare function resetGhRateLimitHintThrottleForTests(): void; /** * Returns the rate-limit reminder when `command` is a real gh call AND `output` shows a rate-limit * error AND the 60s throttle window is open; otherwise undefined. Callers attach it to FOREGROUND * Bash results only (CC gates on `backgroundTaskId` — a detached/background task is never hinted). */ export declare function ghRateLimitHint(command: string, output: string, now?: number): string | undefined; //# sourceMappingURL=gh-rate-limit.d.ts.map