import { AIClientOptions } from './client'; import { AIInterface, GetAIOptions, AIError } from './types'; export declare function parseRetryAfterSeconds(retryAfter: number | string | null | undefined): number | undefined; export declare function extractRetryAfterSeconds(error: unknown): number | undefined; export declare function createRateLimitedAI(client: T, options: GetAIOptions | AIClientOptions): T; export declare function __resetAIRateLimitStateForTests(): void; export declare function __getAIRateLimitStateForTests(): { count: number; maxBudgetCoordinators: number; ttlMs: number; }; export declare function isRetryableAIError(error: unknown): error is AIError; //# sourceMappingURL=rate-limit.d.ts.map