/**
 * Comparison operations for DatabaseService
 *
 * Handles CRUD operations for the comparisons table.
 */
import Database from 'better-sqlite3';
import type { Comparison } from '../../../models/comparison.js';
/**
 * Insert a comparison record
 */
export declare function insertComparison(db: Database.Database, comparison: Comparison): string;
/**
 * Get a comparison by ID
 */
export declare function getComparison(db: Database.Database, id: string): Comparison | null;
/**
 * List comparisons with optional document filter and pagination
 */
export declare function listComparisons(db: Database.Database, options?: {
    document_id?: string;
    limit?: number;
    offset?: number;
}): Comparison[];
/**
 * Summary of a comparison (excludes large JSON diff fields)
 */
interface ComparisonSummary {
    id: string;
    document_id_1: string;
    document_id_2: string;
    similarity_ratio: number;
    summary: string;
    created_at: string;
    processing_duration_ms: number | null;
}
/**
 * Get comparison summaries for a document (lightweight: no JSON blobs)
 */
export declare function getComparisonSummariesByDocument(db: Database.Database, documentId: string): ComparisonSummary[];
export {};
//# sourceMappingURL=comparison-operations.d.ts.map