import { ExtensionAPI } from "@earendil-works/pi-coding-agent"; //#region index.d.ts /** A normalized rate-limit window from Codex's usage endpoint. */ type UsageWindow = { /** Used percentage reported by Codex, usually 0-100. */usedPercent?: number; /** Window duration in seconds, used to identify 5-hour vs weekly buckets. */ windowSeconds?: number; /** Unix timestamp in seconds for when this limit resets. */ resetAt?: number; }; type GlobalCodexLimit = { provider?: string; fiveHour?: UsageWindow; weekly?: UsageWindow; fetchedAt?: number; }; declare global { var piCodexLimit: GlobalCodexLimit | undefined; } /** Register lifecycle hooks and the `/codex-limit` command. */ declare function export_default(pi: ExtensionAPI): void; export = export_default; //# sourceMappingURL=index.d.cts.map