import type { ToolModelConfig } from './tool-model-config.js'; export type ImageAttempt = { provider: string; model: string; error: string; }; export declare function runWithImageModelFallback(params: { toolConfig: ToolModelConfig; modelOverride?: string; run: (modelRef: string) => Promise; }): Promise<{ result: T; attempts: ImageAttempt[]; }>;