import type { AuditTrailEntry } from '../../types/audit.js';
/**
 * Compute the SHA-256 hex digest for an audit entry.
 * Fields are joined with '|' in a deterministic order so the hash is stable
 * across serialization formats.
 */
export declare function hashEntry(entry: Omit<AuditTrailEntry, 'hash'>): string;
/**
 * Verify the integrity of a chain of audit entries.
 *
 * For each entry:
 *   1. `prevHash` must match the previous entry's `hash` (empty string for index 0).
 *   2. The recomputed hash of the entry's fields must match the stored `hash`.
 *
 * Returns true only when every entry passes both checks.
 */
export declare function verifyChain(entries: AuditTrailEntry[]): boolean;
//# sourceMappingURL=hasher.d.ts.map