import type { HarnessSubscriptionUsage } from '../types/HarnessSubscriptionUsage'; /** * Reads the current Codex subscription limit windows through its local app-server protocol. * * Codex versions without this optional protocol, API-key sessions, and transient account failures simply provide no * snapshot. Subscription usage is contextual UI information, so it must never make a coding prompt fail. * * @private internal utility of the OpenAI Codex runner */ export declare function getCodexSubscriptionUsage(codexCommand: string): Promise; /** * Converts the raw Codex app-server rate-limit response into Promptbook's harness-neutral subscription snapshot. * * Modern Codex versions can report several metered buckets, while older versions expose a single compatibility * bucket. In both cases every primary and secondary rolling window is preserved for the terminal dashboard. * * @private internal utility of the OpenAI Codex runner */ export declare function buildCodexSubscriptionUsage(response: unknown): HarnessSubscriptionUsage | undefined;