import type { ProviderQuotaResult, QuotaWindow } from "@penclipai/adapter-utils"; export declare function claudeConfigDir(): string; interface ClaudeAuthStatus { loggedIn: boolean; authMethod: string | null; subscriptionType: string | null; } export declare function readClaudeAuthStatus(): Promise; export declare function readClaudeToken(): Promise; /** Convert a utilization value to a 0-100 integer percent. Returns null for null/undefined input. * Handles both 0-1 fractions (legacy) and 0-100 percentages (current API). */ export declare function toPercent(utilization: number | null | undefined): number | null; /** fetch with an abort-based timeout so a hanging provider api doesn't block the response indefinitely */ export declare function fetchWithTimeout(url: string, init: RequestInit, ms?: number): Promise; export declare function fetchClaudeQuota(token: string): Promise; export declare function parseClaudeCliUsageText(text: string): QuotaWindow[]; export declare function captureClaudeCliUsageText(timeoutMs?: number): Promise; export declare function fetchClaudeCliQuota(): Promise; export declare function getQuotaWindows(): Promise; export {}; //# sourceMappingURL=quota.d.ts.map