/**
 * OCR Result operations for DatabaseService
 *
 * Handles all CRUD operations for OCR results.
 */
import Database from 'better-sqlite3';
import { OCRResult } from '../../../models/document.js';
/**
 * Insert an OCR result
 *
 * @param db - Database connection
 * @param result - OCR result data
 * @param updateMetadataCounts - Callback to update metadata counts
 * @returns string - The OCR result ID
 */
export declare function insertOCRResult(db: Database.Database, result: OCRResult, updateMetadataCounts: () => void): string;
/**
 * Get an OCR result by ID
 *
 * @param db - Database connection
 * @param id - OCR result ID
 * @returns OCRResult | null - The OCR result or null if not found
 */
export declare function getOCRResult(db: Database.Database, id: string): OCRResult | null;
/**
 * Get OCR result by document ID
 *
 * @param db - Database connection
 * @param documentId - Document ID
 * @returns OCRResult | null - The OCR result or null if not found
 */
export declare function getOCRResultByDocumentId(db: Database.Database, documentId: string): OCRResult | null;
//# sourceMappingURL=ocr-operations.d.ts.map