/**
 * Checksum utilities for backup verification.
 *
 * Provides SHA-256 checksum computation and backup verification
 * to ensure data integrity during migrations.
 *
 * @task T4728
 * @epic T4454
 */
/**
 * Result of a backup verification operation.
 */
export interface VerificationResult {
    /** Whether the backup is valid */
    valid: boolean;
    /** Error message if verification failed */
    error?: string;
    /** SHA-256 checksum of the source file */
    sourceChecksum: string;
    /** SHA-256 checksum of the backup file */
    backupChecksum: string;
}
/**
 * Compute SHA-256 checksum of a file.
 *
 * @param filePath - Path to the file
 * @returns Hex-encoded SHA-256 checksum
 * @task T4728
 */
export declare function computeChecksum(filePath: string): Promise<string>;
/**
 * Verify that a backup file matches the source file and is a valid SQLite database.
 *
 * Performs three checks:
 * 1. Computes SHA-256 checksum of both files
 * 2. Compares checksums to detect any content differences
 * 3. Verifies the backup can be opened as a valid SQLite database
 *
 * @param sourcePath - Path to the source database file
 * @param backupPath - Path to the backup file
 * @returns VerificationResult with checksums and validity status
 * @task T4728
 */
export declare function verifyBackup(sourcePath: string, backupPath: string): Promise<VerificationResult>;
/**
 * Quick checksum comparison without SQLite verification.
 * Use when you only need to compare file contents.
 *
 * @param filePath1 - First file path
 * @param filePath2 - Second file path
 * @returns true if checksums match, false otherwise
 * @task T4728
 */
export declare function compareChecksums(filePath1: string, filePath2: string): Promise<boolean>;
//# sourceMappingURL=checksum.d.ts.map