/**
 * Checks if an error is a Cosmos DB rate limit error (429)
 */
export declare function isCosmosDbRateLimitError(error: any): boolean;
/**
 * Extracts retry delay from Cosmos DB error response
 */
export declare function getRetryAfterMs(error: any): number;
/**
 * Retries an operation with exponential backoff when Cosmos DB rate limits are encountered
 *
 * @param operation - The async operation to retry
 * @param maxRetries - Maximum number of retries (default: 5)
 * @param baseDelayMs - Base delay in milliseconds (default: 500)
 * @returns The result of the operation
 */
export declare function retryWithCosmosDbBackoff<T>(operation: () => Promise<T>, maxRetries?: number, baseDelayMs?: number): Promise<T>;
//# sourceMappingURL=cosmosDbRetry.d.ts.map