import type { LedgerEntry } from './types.js'; declare const GENESIS_HASH: string; /** * Compute the SHA-256 hash of a ledger entry. * Hash covers: sequence + previousHash + timestamp + provider + model + operation + input + output + tokens * This is the content-addressable fingerprint — if any field changes, the hash changes. */ export declare function computeEntryHash(entry: Omit): string; /** * Verify that an entry's hash matches its content. */ export declare function verifyEntryHash(entry: LedgerEntry): boolean; /** * Verify the link between two consecutive entries. */ export declare function verifyLink(current: LedgerEntry, previous: LedgerEntry | null): boolean; export { GENESIS_HASH }; //# sourceMappingURL=hash.d.ts.map