/** * Retries `fn` with exponential backoff while the thrown error is * classified as `"retry"`. Rethrows the last error once attempts are * exhausted or the error is classified as something other than * transient. */ export declare function runModelCallWithRetries(fn: (attempt: number) => Promise, diag: { readonly sessionId: string; readonly turnId: string; readonly canRetry?: () => boolean; }, signal?: AbortSignal): Promise;