/**
 * Claude Code CLI-specific usage query.
 *
 * Reads OAuth credentials from the macOS login Keychain service
 * `Claude Code-credentials`, calls the Anthropic subscription API, and
 * returns 5h / 7d / 7d-Sonnet / 7d-Opus utilization buckets.
 *
 * Kept Claude-only on purpose: Codex, Gemini, OpenCode, Qwen each have their
 * own billing / quota model and don't expose a compatible endpoint. This
 * file lives under `adapters/claude/` so its scope is unambiguous.
 */
export interface UsageBucket {
    utilization?: number;
    resetAt?: string;
}
export interface UsageInfo {
    planName?: string;
    fiveHour?: UsageBucket;
    sevenDay?: UsageBucket;
    sevenDaySonnet?: UsageBucket;
    sevenDayOpus?: UsageBucket;
}
export declare function queryUsage(): Promise<UsageInfo>;
export declare function clearUsageCache(): void;
export declare const usageTerminal: {
    queryUsage: typeof queryUsage;
    clearUsageCache: typeof clearUsageCache;
};
//# sourceMappingURL=usage.d.ts.map