/**
 * Image Extraction and Management MCP Tools
 *
 * Tools for extracting images from PDFs and managing image records in the database.
 * Uses PyMuPDF for extraction and integrates with VLM pipeline.
 *
 * CRITICAL: NEVER use console.log() - stdout is reserved for JSON-RPC protocol.
 * Use console.error() for all logging.
 *
 * @module tools/images
 */
import { type ToolResponse, type ToolDefinition } from './shared.js';
/**
 * Handle ocr_image_list - List all images in a document
 */
export declare function handleImageList(params: Record<string, unknown>): Promise<ToolResponse>;
/**
 * Handle ocr_image_get - Get details of a specific image
 */
export declare function handleImageGet(params: Record<string, unknown>): Promise<ToolResponse>;
/**
 * Handle ocr_image_stats - Get image processing statistics
 */
export declare function handleImageStats(params: Record<string, unknown>): Promise<ToolResponse>;
/**
 * Handle ocr_image_delete - Delete images by image_id (single) or document_id (all for document)
 *
 * Must provide exactly one of image_id or document_id. Requires confirm=true.
 */
export declare function handleImageDelete(params: Record<string, unknown>): Promise<ToolResponse>;
/**
 * Handle ocr_image_reset_failed - Reset failed and stuck processing images to pending status
 */
export declare function handleImageResetFailed(params: Record<string, unknown>): Promise<ToolResponse>;
/**
 * Handle ocr_image_search - Search images by keyword filters or semantic similarity
 *
 * mode=keyword: SQL LIKE search on VLM descriptions and metadata filters
 * mode=semantic: Vector similarity search on VLM embeddings
 */
export declare function handleImageSearch(params: Record<string, unknown>): Promise<ToolResponse>;
/**
 * Handle ocr_image_pending - Get images pending VLM processing
 */
export declare function handleImagePending(params: Record<string, unknown>): Promise<ToolResponse>;
/**
 * Handle ocr_image_reanalyze - Re-run VLM analysis on a specific image with optional custom prompt
 */
export declare function handleImageReanalyze(params: Record<string, unknown>): Promise<ToolResponse>;
/**
 * Image tools collection for MCP server registration
 */
export declare const imageTools: Record<string, ToolDefinition>;
//# sourceMappingURL=images.d.ts.map