/** * Image detection, validation, caching, and clipboard reading utilities. */ export interface DetectedImage { /** As written in message, or "clipboard" */ originalPath: string; /** Absolute path to source file */ resolvedPath: string; /** Path in content store images directory */ cachedPath: string; /** MIME type (image/png, image/jpeg, etc.) */ mediaType: string; /** Base64-encoded file contents */ base64Data: string; /** File size in bytes */ sizeBytes: number; } export interface ImageProcessingResult { /** Successfully processed images */ images: DetectedImage[]; /** User text with image paths replaced by [IMAGE: filename] */ cleanedText: string; /** Errors encountered during processing */ errors: Array<{ path: string; error: string; }>; } /** * Process all image references in a message text. * Detects file paths, validates, caches, and encodes images. * Returns processed images and cleaned text with paths replaced by [IMAGE: filename]. */ export declare function processImagesInMessage(text: string, contentBasePath: string): Promise; /** * Read image data from the system clipboard. * Platform-specific: macOS (osascript), Linux X11 (xclip), Linux Wayland (wl-paste). * Returns null if clipboard has no image data. */ export declare function readClipboardImage(contentBasePath: string): Promise; //# sourceMappingURL=image-utils.d.ts.map