import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; import { Message, proto3 } from "@bufbuild/protobuf"; import { CommitmentProof } from "../../../../cosmos/ics23/v1/proofs_pb.js"; /** * MerkleRoot defines a merkle root hash. * In the Cosmos SDK, the AppHash of a block header becomes the root. * * @generated from message ibc.core.commitment.v1.MerkleRoot */ export declare class MerkleRoot extends Message { /** * @generated from field: bytes hash = 1; */ hash: Uint8Array; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "ibc.core.commitment.v1.MerkleRoot"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): MerkleRoot; static fromJson(jsonValue: JsonValue, options?: Partial): MerkleRoot; static fromJsonString(jsonString: string, options?: Partial): MerkleRoot; static equals(a: MerkleRoot | PlainMessage | undefined, b: MerkleRoot | PlainMessage | undefined): boolean; } /** * MerklePrefix is merkle path prefixed to the key. * The constructed key from the Path and the key will be append(Path.KeyPath, * append(Path.KeyPrefix, key...)) * * @generated from message ibc.core.commitment.v1.MerklePrefix */ export declare class MerklePrefix extends Message { /** * @generated from field: bytes key_prefix = 1; */ keyPrefix: Uint8Array; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "ibc.core.commitment.v1.MerklePrefix"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): MerklePrefix; static fromJson(jsonValue: JsonValue, options?: Partial): MerklePrefix; static fromJsonString(jsonString: string, options?: Partial): MerklePrefix; static equals(a: MerklePrefix | PlainMessage | undefined, b: MerklePrefix | PlainMessage | undefined): boolean; } /** * MerkleProof is a wrapper type over a chain of CommitmentProofs. * It demonstrates membership or non-membership for an element or set of * elements, verifiable in conjunction with a known commitment root. Proofs * should be succinct. * MerkleProofs are ordered from leaf-to-root * * @generated from message ibc.core.commitment.v1.MerkleProof */ export declare class MerkleProof extends Message { /** * @generated from field: repeated cosmos.ics23.v1.CommitmentProof proofs = 1; */ proofs: CommitmentProof[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "ibc.core.commitment.v1.MerkleProof"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): MerkleProof; static fromJson(jsonValue: JsonValue, options?: Partial): MerkleProof; static fromJsonString(jsonString: string, options?: Partial): MerkleProof; static equals(a: MerkleProof | PlainMessage | undefined, b: MerkleProof | PlainMessage | undefined): boolean; } //# sourceMappingURL=commitment_pb.d.ts.map