/** * Image data structure for vision API requests */ export interface ImageData { type: "image_url"; image_url: { url: string; }; } /** * Parsed message with text and images separated */ export interface ParsedMessage { text: string; images: ImageData[]; } /** * Parse user message for @image_path syntax and extract images * Returns cleaned text and array of image data structures * * Example inputs: * "What's in this image? @/path/to/photo.jpg" * "Analyze @\"~/My Pictures/photo.jpg\"" * "Compare @/path/with\\ spaces/image.jpg" * * Example output: { * text: "What's in this image?", * images: [{ type: "image_url", image_url: { url: "data:image/jpeg;base64,..." } }] * } */ export declare function parseImagesFromMessage(message: string, cwd?: string): ParsedMessage; /** * Check if a message contains image references */ export declare function hasImageReferences(message: string): boolean;