export type CliUsageLimitKind = 'usage' | 'rate';
export interface CliUsageLimitState {
    limited: true;
    kind: CliUsageLimitKind;
    retryAtMs: number;
    retryLabel: string;
    retryReady: boolean;
}
export interface CliUsageLimitNotDetected {
    limited: false;
}
export type CliUsageLimitDetection = CliUsageLimitState | CliUsageLimitNotDetected;
export declare function detectCliUsageLimit(text: string, now?: Date): CliUsageLimitDetection;
export declare function usageLimitStateKey(state: CliUsageLimitState): string;
//# sourceMappingURL=cli-usage-limit.d.ts.map