import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js"; export interface ResolvedImageResult { base64: string; filename: string; } export interface ImageResolveError { error: string; } export type ImageResolveOutcome = ResolvedImageResult | ImageResolveError; /** * Resolves an image for detection tools. * * Resolution order: * 1. `image` — direct base64 (programmatic callers, LLM retry with encoded data) * 2. `image_url` — fetch from URL (signed GCS URL, public link, etc.) * 3. `image_path` — read local file (stdio mode). If file not found → Option B: * instruct the LLM to read & encode the file itself and retry. * 4. Elicitation — ask the user via MCP form elicitation (Option C). * 5. Fallback — return LLM-friendly instructions for retry. */ export declare function resolveImageInput(server: McpServer, opts: { image?: string | undefined; image_url?: string | undefined; image_path?: string | undefined; defaultFilename?: string | undefined; elicitMessage?: string | undefined; }): Promise;