import type { BinaryTree } from './binaryTree.ts';
/**
 * Load proof nodes into a new binary tree and set its root.
 *
 * @param proof Serialized binary tree nodes along a key path
 */
export declare function binaryTreeFromProof(proof: Uint8Array[]): Promise<BinaryTree>;
/**
 * Verify a binary tree proof for `key` against `rootHash`.
 *
 * @param rootHash Expected tree root
 * @param key Full 32-byte key (stem + suffix)
 * @param proof Serialized nodes along the key path
 * @throws If the proof is invalid
 * @returns Proven value, or `null` for a valid non-existence proof
 */
export declare function verifyBinaryProof(rootHash: Uint8Array, key: Uint8Array, proof: Uint8Array[]): Promise<Uint8Array | null>;
//# sourceMappingURL=proof.d.ts.map