import { isCopilotTransientModelError } from "../error/flags"; export { isCopilotTransientModelError }; /** * Wrap an initial Copilot request so transient `model_not_supported` 400s are * retried a small number of times. No-op for non-Copilot providers. * * The callback **MUST** create a fresh in-flight request each invocation — a * once-consumed AsyncIterable cannot be re-iterated. */ export declare function callWithCopilotModelRetry(fn: () => Promise, options: { provider: string; signal?: AbortSignal; retryBaseDelayMs?: number; }): Promise;