import { ProofSpec } from "../generated/cosmos/ics23/v1/proofs.js"; //#region src/proof/ics23-convert.d.ts /** * IAVL ProofSpec defines the validation rules for IAVL Merkle proofs. * * This matches the ics23.IavlSpec from the Go ics23 library. * * LeafSpec: * - Prefix: [0] (placeholder, actual prefix includes version varints) * - PrehashKey: NO_HASH (keys are not pre-hashed) * - Hash: SHA256 * - PrehashValue: SHA256 (values are pre-hashed) * - Length: VAR_PROTO (protobuf varint encoding) * * InnerSpec: * - ChildOrder: [0, 1] (binary tree: left=0, right=1) * - MinPrefixLength: 4 (minimum: height(1) + size(1) + version(1) + lengthByte(1)) * - MaxPrefixLength: 12 (varints can be up to 10 bytes each for height/size/version) * - ChildSize: 33 (32-byte hash + 1-byte length prefix) * - EmptyChild: null (IAVL doesn't use placeholder values for missing children) * - Hash: SHA256 * * Based on Go ics23 proof.go IavlSpec definition */ declare const IavlSpec: ProofSpec; //#endregion export { IavlSpec }; //# sourceMappingURL=ics23-convert.d.ts.map