import type { Mode, ProviderId, ChatImage } from "../types.js"; import { type VisionSupport } from "../llm/capabilities.js"; import { type Attachment } from "../ui/mentions.js"; export interface ResolvedTurnInput { readonly prompt: string; readonly mode: Mode; readonly provider: ProviderId; readonly model: string; readonly attachments: readonly Attachment[]; readonly images: readonly ChatImage[]; readonly capability: { readonly vision: boolean; readonly support: VisionSupport; readonly source: "provider" | "user" | "fallback-table"; }; readonly fallbackReason?: string | undefined; readonly imageIssues: readonly string[]; } export declare function resolveTurnInput(input: { prompt: string; mode: Mode; provider: ProviderId; model: string; baseDir?: string | undefined; }): ResolvedTurnInput; export declare function shouldRunImageOcr(input: { hasImage: boolean; visionCapable: boolean; prompt: string; support?: VisionSupport | undefined; }): boolean;