/**
 * History Integrity Verification
 *
 * Verifies the tamper-evident audit trail by checking hash chains
 * and optionally validating Sigstore signatures.
 *
 * @module history/verify
 */
import type { HistoryEntry, IntegrityVerificationResult, EntryVerificationResult } from "./types.js";
/**
 * Verify the integrity of a single history entry
 */
export declare function verifyEntry(entry: HistoryEntry, expectedPreviousHash: string): EntryVerificationResult;
/**
 * Verify the integrity of the entire history file
 *
 * Checks:
 * 1. Each entry's hash matches its content
 * 2. Each entry's previousHash matches the previous entry's hash
 * 3. The chain is unbroken from genesis to head
 * 4. Optionally verifies Sigstore signatures
 */
export declare function verifyHistoryIntegrity(projectPath: string, options?: {
    /** Stop at first failure */
    stopOnFirstFailure?: boolean;
    /** Verify signatures if present */
    verifySignatures?: boolean;
}): Promise<IntegrityVerificationResult>;
/**
 * Format verification result as markdown
 */
export declare function formatVerificationResultAsMarkdown(result: IntegrityVerificationResult): string;
/**
 * Get a compact verification summary for API responses
 */
export declare function getVerificationSummary(result: IntegrityVerificationResult): {
    verified: boolean;
    totalEntries: number;
    failureCount: number;
    chainIntact: boolean;
    genesisHash?: string;
    headHash?: string;
};
//# sourceMappingURL=verify.d.ts.map