import type { RetryConfig } from "../types.js"; /** Default initial delay before first retry attempt */ export declare const DEFAULT_RETRY_INITIAL_DELAY_MS = 1000; /** Default maximum delay between retry attempts */ export declare const DEFAULT_RETRY_MAX_DELAY_MS = 30000; /** * Shared transient-error classification for workflow retries. Callers are * responsible for non-cooperative-error bookkeeping before consulting this. */ export declare function isRetryableWorkflowError(error: Error, config: RetryConfig | undefined): boolean; /** * Public-safe retry telemetry classification. Never include the error message here. * * Delegates to the shared telemetry classifier so retry events and span statuses * cannot drift apart. */ export declare function retryTelemetryErrorType(error: Error): string; /** Backoff delay (fixed/linear/exponential per config) with ±10% jitter. */ export declare function calculateRetryDelay(attempt: number, config: RetryConfig | undefined): number; //# sourceMappingURL=retry-policy.d.ts.map