import type { IHasher } from './ports/hasher.port'; export declare function leafHash(entry: Uint8Array, hasher: IHasher): Uint8Array; export declare function nodeHash(left: Uint8Array, right: Uint8Array, hasher: IHasher): Uint8Array; export declare function merkleTreeHead(entries: readonly Uint8Array[], hasher: IHasher): Uint8Array; export declare function inclusionPath(entries: readonly Uint8Array[], index: number, hasher: IHasher): Uint8Array[]; export interface InclusionProof { readonly leaf: Uint8Array; readonly leafIndex: number; readonly treeSize: number; readonly path: readonly Uint8Array[]; } export declare function recomputeRootFromProof(proof: InclusionProof, hasher: IHasher): Uint8Array | undefined; export declare function verifyInclusionProof(proof: InclusionProof, expectedRoot: Uint8Array, hasher: IHasher): boolean;