export declare const FIRST_TOKEN_TIMEOUT = 90000; export declare function firstTokenTimeoutForModel(modelId: string): number; export declare const retryConfig: { firstTokenTimeoutMs: number; }; export declare function exponentialBackoff(attempt: number, baseMs: number, maxMs: number): number; export declare const MAX_RETRY_DELAY = 10000; export declare const TOO_BIG_PATTERNS: string[]; export declare const CAPACITY_MAX_RETRIES = 3; export declare const CAPACITY_BASE_DELAY_MS = 5000; export declare const capacityRetryConfig: { maxRetries: number; baseDelayMs: number; }; /** Check whether an HTTP error represents a "request too large" condition. */ export declare function isTooBigError(status: number, errorText: string): boolean; /** Check whether the response body contains a Kiro-specific non-retryable marker. */ export declare function isNonRetryableBodyError(errorText: string): boolean; /** Check whether the error is a transient capacity issue worth retrying. */ export declare function isCapacityError(errorText: string): boolean; //# sourceMappingURL=retry.d.ts.map