import { BinaryReader, BinaryWriter } from "../../binary.js"; import { DeepPartial } from "../../helpers.js"; import { Proof, ProofAmino } from "../crypto/proof.js"; import { BlockIDFlag, ValidatorSet, ValidatorSetAmino } from "./validator.js"; import { Consensus, ConsensusAmino } from "../version/types.js"; //#region src/tendermint/types/types.d.ts /** SignedMsgType is a type of signed message in the consensus. */ declare enum SignedMsgType { SIGNED_MSG_TYPE_UNKNOWN = 0, /** SIGNED_MSG_TYPE_PREVOTE - Votes */ SIGNED_MSG_TYPE_PREVOTE = 1, SIGNED_MSG_TYPE_PRECOMMIT = 2, /** SIGNED_MSG_TYPE_PROPOSAL - Proposals */ SIGNED_MSG_TYPE_PROPOSAL = 32, UNRECOGNIZED = -1 } declare const SignedMsgTypeAmino: typeof SignedMsgType; declare function signedMsgTypeFromJSON(object: any): SignedMsgType; declare function signedMsgTypeToJSON(object: SignedMsgType): string; /** * PartsetHeader * @name PartSetHeader * @package tendermint.types * @see proto type: tendermint.types.PartSetHeader */ interface PartSetHeader { total: number; hash: Uint8Array; } interface PartSetHeaderProtoMsg { typeUrl: "/tendermint.types.PartSetHeader"; value: Uint8Array; } /** * PartsetHeader * @name PartSetHeaderAmino * @package tendermint.types * @see proto type: tendermint.types.PartSetHeader */ interface PartSetHeaderAmino { total: number; hash: string; } interface PartSetHeaderAminoMsg { type: "/tendermint.types.PartSetHeader"; value: PartSetHeaderAmino; } /** * @name Part * @package tendermint.types * @see proto type: tendermint.types.Part */ interface Part { index: number; bytes: Uint8Array; proof: Proof; } interface PartProtoMsg { typeUrl: "/tendermint.types.Part"; value: Uint8Array; } /** * @name PartAmino * @package tendermint.types * @see proto type: tendermint.types.Part */ interface PartAmino { index: number; bytes: string; proof: ProofAmino; } interface PartAminoMsg { type: "/tendermint.types.Part"; value: PartAmino; } /** * BlockID * @name BlockID * @package tendermint.types * @see proto type: tendermint.types.BlockID */ interface BlockID { hash: Uint8Array; partSetHeader: PartSetHeader; } interface BlockIDProtoMsg { typeUrl: "/tendermint.types.BlockID"; value: Uint8Array; } /** * BlockID * @name BlockIDAmino * @package tendermint.types * @see proto type: tendermint.types.BlockID */ interface BlockIDAmino { hash: string; part_set_header: PartSetHeaderAmino; } interface BlockIDAminoMsg { type: "/tendermint.types.BlockID"; value: BlockIDAmino; } /** * Header defines the structure of a block header. * @name Header * @package tendermint.types * @see proto type: tendermint.types.Header */ interface Header { /** * basic block info */ version: Consensus; chainId: string; height: bigint; time: Date; /** * prev block info */ lastBlockId: BlockID; /** * hashes of block data */ lastCommitHash: Uint8Array; /** * transactions */ dataHash: Uint8Array; /** * hashes from the app output from the prev block */ validatorsHash: Uint8Array; /** * validators for the next block */ nextValidatorsHash: Uint8Array; /** * consensus params for current block */ consensusHash: Uint8Array; /** * state after txs from the previous block */ appHash: Uint8Array; /** * root hash of all results from the txs from the previous block */ lastResultsHash: Uint8Array; /** * consensus info */ evidenceHash: Uint8Array; /** * original proposer of the block */ proposerAddress: Uint8Array; } interface HeaderProtoMsg { typeUrl: "/tendermint.types.Header"; value: Uint8Array; } /** * Header defines the structure of a block header. * @name HeaderAmino * @package tendermint.types * @see proto type: tendermint.types.Header */ interface HeaderAmino { /** * basic block info */ version: ConsensusAmino; chain_id: string; height: string; time: string; /** * prev block info */ last_block_id: BlockIDAmino; /** * hashes of block data */ last_commit_hash: string; /** * transactions */ data_hash: string; /** * hashes from the app output from the prev block */ validators_hash: string; /** * validators for the next block */ next_validators_hash: string; /** * consensus params for current block */ consensus_hash: string; /** * state after txs from the previous block */ app_hash: string; /** * root hash of all results from the txs from the previous block */ last_results_hash: string; /** * consensus info */ evidence_hash: string; /** * original proposer of the block */ proposer_address: string; } interface HeaderAminoMsg { type: "/tendermint.types.Header"; value: HeaderAmino; } /** * Data contains the set of transactions included in the block * @name Data * @package tendermint.types * @see proto type: tendermint.types.Data */ interface Data { /** * Txs that will be applied by state @ block.Height+1. * NOTE: not all txs here are valid. We're just agreeing on the order first. * This means that block.AppHash does not include these txs. */ txs: Uint8Array[]; } interface DataProtoMsg { typeUrl: "/tendermint.types.Data"; value: Uint8Array; } /** * Data contains the set of transactions included in the block * @name DataAmino * @package tendermint.types * @see proto type: tendermint.types.Data */ interface DataAmino { /** * Txs that will be applied by state @ block.Height+1. * NOTE: not all txs here are valid. We're just agreeing on the order first. * This means that block.AppHash does not include these txs. */ txs: string[]; } interface DataAminoMsg { type: "/tendermint.types.Data"; value: DataAmino; } /** * Vote represents a prevote or precommit vote from validators for * consensus. * @name Vote * @package tendermint.types * @see proto type: tendermint.types.Vote */ interface Vote { type: SignedMsgType; height: bigint; round: number; /** * zero if vote is nil. */ blockId: BlockID; timestamp: Date; validatorAddress: Uint8Array; validatorIndex: number; /** * Vote signature by the validator if they participated in consensus for the * associated block. */ signature: Uint8Array; /** * Vote extension provided by the application. Only valid for precommit * messages. */ extension: Uint8Array; /** * Vote extension signature by the validator if they participated in * consensus for the associated block. * Only valid for precommit messages. */ extensionSignature: Uint8Array; } interface VoteProtoMsg { typeUrl: "/tendermint.types.Vote"; value: Uint8Array; } /** * Vote represents a prevote or precommit vote from validators for * consensus. * @name VoteAmino * @package tendermint.types * @see proto type: tendermint.types.Vote */ interface VoteAmino { type: SignedMsgType; height: string; round: number; /** * zero if vote is nil. */ block_id: BlockIDAmino; timestamp: string; validator_address: string; validator_index: number; /** * Vote signature by the validator if they participated in consensus for the * associated block. */ signature: string; /** * Vote extension provided by the application. Only valid for precommit * messages. */ extension: string; /** * Vote extension signature by the validator if they participated in * consensus for the associated block. * Only valid for precommit messages. */ extension_signature: string; } interface VoteAminoMsg { type: "/tendermint.types.Vote"; value: VoteAmino; } /** * Commit contains the evidence that a block was committed by a set of validators. * @name Commit * @package tendermint.types * @see proto type: tendermint.types.Commit */ interface Commit { height: bigint; round: number; blockId: BlockID; signatures: CommitSig[]; } interface CommitProtoMsg { typeUrl: "/tendermint.types.Commit"; value: Uint8Array; } /** * Commit contains the evidence that a block was committed by a set of validators. * @name CommitAmino * @package tendermint.types * @see proto type: tendermint.types.Commit */ interface CommitAmino { height: string; round: number; block_id: BlockIDAmino; signatures: CommitSigAmino[]; } interface CommitAminoMsg { type: "/tendermint.types.Commit"; value: CommitAmino; } /** * CommitSig is a part of the Vote included in a Commit. * @name CommitSig * @package tendermint.types * @see proto type: tendermint.types.CommitSig */ interface CommitSig { blockIdFlag: BlockIDFlag; validatorAddress: Uint8Array; timestamp: Date; signature: Uint8Array; } interface CommitSigProtoMsg { typeUrl: "/tendermint.types.CommitSig"; value: Uint8Array; } /** * CommitSig is a part of the Vote included in a Commit. * @name CommitSigAmino * @package tendermint.types * @see proto type: tendermint.types.CommitSig */ interface CommitSigAmino { block_id_flag: BlockIDFlag; validator_address: string; timestamp: string; signature: string; } interface CommitSigAminoMsg { type: "/tendermint.types.CommitSig"; value: CommitSigAmino; } /** * @name ExtendedCommit * @package tendermint.types * @see proto type: tendermint.types.ExtendedCommit */ interface ExtendedCommit { height: bigint; round: number; blockId: BlockID; extendedSignatures: ExtendedCommitSig[]; } interface ExtendedCommitProtoMsg { typeUrl: "/tendermint.types.ExtendedCommit"; value: Uint8Array; } /** * @name ExtendedCommitAmino * @package tendermint.types * @see proto type: tendermint.types.ExtendedCommit */ interface ExtendedCommitAmino { height: string; round: number; block_id: BlockIDAmino; extended_signatures: ExtendedCommitSigAmino[]; } interface ExtendedCommitAminoMsg { type: "/tendermint.types.ExtendedCommit"; value: ExtendedCommitAmino; } /** * ExtendedCommitSig retains all the same fields as CommitSig but adds vote * extension-related fields. We use two signatures to ensure backwards compatibility. * That is the digest of the original signature is still the same in prior versions * @name ExtendedCommitSig * @package tendermint.types * @see proto type: tendermint.types.ExtendedCommitSig */ interface ExtendedCommitSig { blockIdFlag: BlockIDFlag; validatorAddress: Uint8Array; timestamp: Date; signature: Uint8Array; /** * Vote extension data */ extension: Uint8Array; /** * Vote extension signature */ extensionSignature: Uint8Array; } interface ExtendedCommitSigProtoMsg { typeUrl: "/tendermint.types.ExtendedCommitSig"; value: Uint8Array; } /** * ExtendedCommitSig retains all the same fields as CommitSig but adds vote * extension-related fields. We use two signatures to ensure backwards compatibility. * That is the digest of the original signature is still the same in prior versions * @name ExtendedCommitSigAmino * @package tendermint.types * @see proto type: tendermint.types.ExtendedCommitSig */ interface ExtendedCommitSigAmino { block_id_flag: BlockIDFlag; validator_address: string; timestamp: string; signature: string; /** * Vote extension data */ extension: string; /** * Vote extension signature */ extension_signature: string; } interface ExtendedCommitSigAminoMsg { type: "/tendermint.types.ExtendedCommitSig"; value: ExtendedCommitSigAmino; } /** * @name Proposal * @package tendermint.types * @see proto type: tendermint.types.Proposal */ interface Proposal { type: SignedMsgType; height: bigint; round: number; polRound: number; blockId: BlockID; timestamp: Date; signature: Uint8Array; } interface ProposalProtoMsg { typeUrl: "/tendermint.types.Proposal"; value: Uint8Array; } /** * @name ProposalAmino * @package tendermint.types * @see proto type: tendermint.types.Proposal */ interface ProposalAmino { type: SignedMsgType; height: string; round: number; pol_round: number; block_id: BlockIDAmino; timestamp: string; signature: string; } interface ProposalAminoMsg { type: "/tendermint.types.Proposal"; value: ProposalAmino; } /** * @name SignedHeader * @package tendermint.types * @see proto type: tendermint.types.SignedHeader */ interface SignedHeader { header?: Header; commit?: Commit; } interface SignedHeaderProtoMsg { typeUrl: "/tendermint.types.SignedHeader"; value: Uint8Array; } /** * @name SignedHeaderAmino * @package tendermint.types * @see proto type: tendermint.types.SignedHeader */ interface SignedHeaderAmino { header?: HeaderAmino; commit?: CommitAmino; } interface SignedHeaderAminoMsg { type: "/tendermint.types.SignedHeader"; value: SignedHeaderAmino; } /** * @name LightBlock * @package tendermint.types * @see proto type: tendermint.types.LightBlock */ interface LightBlock { signedHeader?: SignedHeader; validatorSet?: ValidatorSet; } interface LightBlockProtoMsg { typeUrl: "/tendermint.types.LightBlock"; value: Uint8Array; } /** * @name LightBlockAmino * @package tendermint.types * @see proto type: tendermint.types.LightBlock */ interface LightBlockAmino { signed_header?: SignedHeaderAmino; validator_set?: ValidatorSetAmino; } interface LightBlockAminoMsg { type: "/tendermint.types.LightBlock"; value: LightBlockAmino; } /** * @name BlockMeta * @package tendermint.types * @see proto type: tendermint.types.BlockMeta */ interface BlockMeta { blockId: BlockID; blockSize: bigint; header: Header; numTxs: bigint; } interface BlockMetaProtoMsg { typeUrl: "/tendermint.types.BlockMeta"; value: Uint8Array; } /** * @name BlockMetaAmino * @package tendermint.types * @see proto type: tendermint.types.BlockMeta */ interface BlockMetaAmino { block_id: BlockIDAmino; block_size: string; header: HeaderAmino; num_txs: string; } interface BlockMetaAminoMsg { type: "/tendermint.types.BlockMeta"; value: BlockMetaAmino; } /** * TxProof represents a Merkle proof of the presence of a transaction in the Merkle tree. * @name TxProof * @package tendermint.types * @see proto type: tendermint.types.TxProof */ interface TxProof { rootHash: Uint8Array; data: Uint8Array; proof?: Proof; } interface TxProofProtoMsg { typeUrl: "/tendermint.types.TxProof"; value: Uint8Array; } /** * TxProof represents a Merkle proof of the presence of a transaction in the Merkle tree. * @name TxProofAmino * @package tendermint.types * @see proto type: tendermint.types.TxProof */ interface TxProofAmino { root_hash: string; data: string; proof?: ProofAmino; } interface TxProofAminoMsg { type: "/tendermint.types.TxProof"; value: TxProofAmino; } /** * PartsetHeader * @name PartSetHeader * @package tendermint.types * @see proto type: tendermint.types.PartSetHeader */ declare const PartSetHeader: { typeUrl: string; is(o: any): o is PartSetHeader; isAmino(o: any): o is PartSetHeaderAmino; encode(message: PartSetHeader, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): PartSetHeader; fromPartial(object: DeepPartial): PartSetHeader; fromAmino(object: PartSetHeaderAmino): PartSetHeader; toAmino(message: PartSetHeader): PartSetHeaderAmino; fromAminoMsg(object: PartSetHeaderAminoMsg): PartSetHeader; fromProtoMsg(message: PartSetHeaderProtoMsg): PartSetHeader; toProto(message: PartSetHeader): Uint8Array; toProtoMsg(message: PartSetHeader): PartSetHeaderProtoMsg; registerTypeUrl(): void; }; /** * @name Part * @package tendermint.types * @see proto type: tendermint.types.Part */ declare const Part: { typeUrl: string; is(o: any): o is Part; isAmino(o: any): o is PartAmino; encode(message: Part, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): Part; fromPartial(object: DeepPartial): Part; fromAmino(object: PartAmino): Part; toAmino(message: Part): PartAmino; fromAminoMsg(object: PartAminoMsg): Part; fromProtoMsg(message: PartProtoMsg): Part; toProto(message: Part): Uint8Array; toProtoMsg(message: Part): PartProtoMsg; registerTypeUrl(): void; }; /** * BlockID * @name BlockID * @package tendermint.types * @see proto type: tendermint.types.BlockID */ declare const BlockID: { typeUrl: string; is(o: any): o is BlockID; isAmino(o: any): o is BlockIDAmino; encode(message: BlockID, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): BlockID; fromPartial(object: DeepPartial): BlockID; fromAmino(object: BlockIDAmino): BlockID; toAmino(message: BlockID): BlockIDAmino; fromAminoMsg(object: BlockIDAminoMsg): BlockID; fromProtoMsg(message: BlockIDProtoMsg): BlockID; toProto(message: BlockID): Uint8Array; toProtoMsg(message: BlockID): BlockIDProtoMsg; registerTypeUrl(): void; }; /** * Header defines the structure of a block header. * @name Header * @package tendermint.types * @see proto type: tendermint.types.Header */ declare const Header: { typeUrl: string; is(o: any): o is Header; isAmino(o: any): o is HeaderAmino; encode(message: Header, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): Header; fromPartial(object: DeepPartial
): Header; fromAmino(object: HeaderAmino): Header; toAmino(message: Header): HeaderAmino; fromAminoMsg(object: HeaderAminoMsg): Header; fromProtoMsg(message: HeaderProtoMsg): Header; toProto(message: Header): Uint8Array; toProtoMsg(message: Header): HeaderProtoMsg; registerTypeUrl(): void; }; /** * Data contains the set of transactions included in the block * @name Data * @package tendermint.types * @see proto type: tendermint.types.Data */ declare const Data: { typeUrl: string; is(o: any): o is Data; isAmino(o: any): o is DataAmino; encode(message: Data, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): Data; fromPartial(object: DeepPartial): Data; fromAmino(object: DataAmino): Data; toAmino(message: Data): DataAmino; fromAminoMsg(object: DataAminoMsg): Data; fromProtoMsg(message: DataProtoMsg): Data; toProto(message: Data): Uint8Array; toProtoMsg(message: Data): DataProtoMsg; registerTypeUrl(): void; }; /** * Vote represents a prevote or precommit vote from validators for * consensus. * @name Vote * @package tendermint.types * @see proto type: tendermint.types.Vote */ declare const Vote: { typeUrl: string; is(o: any): o is Vote; isAmino(o: any): o is VoteAmino; encode(message: Vote, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): Vote; fromPartial(object: DeepPartial): Vote; fromAmino(object: VoteAmino): Vote; toAmino(message: Vote): VoteAmino; fromAminoMsg(object: VoteAminoMsg): Vote; fromProtoMsg(message: VoteProtoMsg): Vote; toProto(message: Vote): Uint8Array; toProtoMsg(message: Vote): VoteProtoMsg; registerTypeUrl(): void; }; /** * Commit contains the evidence that a block was committed by a set of validators. * @name Commit * @package tendermint.types * @see proto type: tendermint.types.Commit */ declare const Commit: { typeUrl: string; is(o: any): o is Commit; isAmino(o: any): o is CommitAmino; encode(message: Commit, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): Commit; fromPartial(object: DeepPartial): Commit; fromAmino(object: CommitAmino): Commit; toAmino(message: Commit): CommitAmino; fromAminoMsg(object: CommitAminoMsg): Commit; fromProtoMsg(message: CommitProtoMsg): Commit; toProto(message: Commit): Uint8Array; toProtoMsg(message: Commit): CommitProtoMsg; registerTypeUrl(): void; }; /** * CommitSig is a part of the Vote included in a Commit. * @name CommitSig * @package tendermint.types * @see proto type: tendermint.types.CommitSig */ declare const CommitSig: { typeUrl: string; is(o: any): o is CommitSig; isAmino(o: any): o is CommitSigAmino; encode(message: CommitSig, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): CommitSig; fromPartial(object: DeepPartial): CommitSig; fromAmino(object: CommitSigAmino): CommitSig; toAmino(message: CommitSig): CommitSigAmino; fromAminoMsg(object: CommitSigAminoMsg): CommitSig; fromProtoMsg(message: CommitSigProtoMsg): CommitSig; toProto(message: CommitSig): Uint8Array; toProtoMsg(message: CommitSig): CommitSigProtoMsg; registerTypeUrl(): void; }; /** * @name ExtendedCommit * @package tendermint.types * @see proto type: tendermint.types.ExtendedCommit */ declare const ExtendedCommit: { typeUrl: string; is(o: any): o is ExtendedCommit; isAmino(o: any): o is ExtendedCommitAmino; encode(message: ExtendedCommit, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): ExtendedCommit; fromPartial(object: DeepPartial): ExtendedCommit; fromAmino(object: ExtendedCommitAmino): ExtendedCommit; toAmino(message: ExtendedCommit): ExtendedCommitAmino; fromAminoMsg(object: ExtendedCommitAminoMsg): ExtendedCommit; fromProtoMsg(message: ExtendedCommitProtoMsg): ExtendedCommit; toProto(message: ExtendedCommit): Uint8Array; toProtoMsg(message: ExtendedCommit): ExtendedCommitProtoMsg; registerTypeUrl(): void; }; /** * ExtendedCommitSig retains all the same fields as CommitSig but adds vote * extension-related fields. We use two signatures to ensure backwards compatibility. * That is the digest of the original signature is still the same in prior versions * @name ExtendedCommitSig * @package tendermint.types * @see proto type: tendermint.types.ExtendedCommitSig */ declare const ExtendedCommitSig: { typeUrl: string; is(o: any): o is ExtendedCommitSig; isAmino(o: any): o is ExtendedCommitSigAmino; encode(message: ExtendedCommitSig, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): ExtendedCommitSig; fromPartial(object: DeepPartial): ExtendedCommitSig; fromAmino(object: ExtendedCommitSigAmino): ExtendedCommitSig; toAmino(message: ExtendedCommitSig): ExtendedCommitSigAmino; fromAminoMsg(object: ExtendedCommitSigAminoMsg): ExtendedCommitSig; fromProtoMsg(message: ExtendedCommitSigProtoMsg): ExtendedCommitSig; toProto(message: ExtendedCommitSig): Uint8Array; toProtoMsg(message: ExtendedCommitSig): ExtendedCommitSigProtoMsg; registerTypeUrl(): void; }; /** * @name Proposal * @package tendermint.types * @see proto type: tendermint.types.Proposal */ declare const Proposal: { typeUrl: string; is(o: any): o is Proposal; isAmino(o: any): o is ProposalAmino; encode(message: Proposal, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): Proposal; fromPartial(object: DeepPartial): Proposal; fromAmino(object: ProposalAmino): Proposal; toAmino(message: Proposal): ProposalAmino; fromAminoMsg(object: ProposalAminoMsg): Proposal; fromProtoMsg(message: ProposalProtoMsg): Proposal; toProto(message: Proposal): Uint8Array; toProtoMsg(message: Proposal): ProposalProtoMsg; registerTypeUrl(): void; }; /** * @name SignedHeader * @package tendermint.types * @see proto type: tendermint.types.SignedHeader */ declare const SignedHeader: { typeUrl: string; is(o: any): o is SignedHeader; isAmino(o: any): o is SignedHeaderAmino; encode(message: SignedHeader, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): SignedHeader; fromPartial(object: DeepPartial): SignedHeader; fromAmino(object: SignedHeaderAmino): SignedHeader; toAmino(message: SignedHeader): SignedHeaderAmino; fromAminoMsg(object: SignedHeaderAminoMsg): SignedHeader; fromProtoMsg(message: SignedHeaderProtoMsg): SignedHeader; toProto(message: SignedHeader): Uint8Array; toProtoMsg(message: SignedHeader): SignedHeaderProtoMsg; registerTypeUrl(): void; }; /** * @name LightBlock * @package tendermint.types * @see proto type: tendermint.types.LightBlock */ declare const LightBlock: { typeUrl: string; is(o: any): o is LightBlock; isAmino(o: any): o is LightBlockAmino; encode(message: LightBlock, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): LightBlock; fromPartial(object: DeepPartial): LightBlock; fromAmino(object: LightBlockAmino): LightBlock; toAmino(message: LightBlock): LightBlockAmino; fromAminoMsg(object: LightBlockAminoMsg): LightBlock; fromProtoMsg(message: LightBlockProtoMsg): LightBlock; toProto(message: LightBlock): Uint8Array; toProtoMsg(message: LightBlock): LightBlockProtoMsg; registerTypeUrl(): void; }; /** * @name BlockMeta * @package tendermint.types * @see proto type: tendermint.types.BlockMeta */ declare const BlockMeta: { typeUrl: string; is(o: any): o is BlockMeta; isAmino(o: any): o is BlockMetaAmino; encode(message: BlockMeta, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): BlockMeta; fromPartial(object: DeepPartial): BlockMeta; fromAmino(object: BlockMetaAmino): BlockMeta; toAmino(message: BlockMeta): BlockMetaAmino; fromAminoMsg(object: BlockMetaAminoMsg): BlockMeta; fromProtoMsg(message: BlockMetaProtoMsg): BlockMeta; toProto(message: BlockMeta): Uint8Array; toProtoMsg(message: BlockMeta): BlockMetaProtoMsg; registerTypeUrl(): void; }; /** * TxProof represents a Merkle proof of the presence of a transaction in the Merkle tree. * @name TxProof * @package tendermint.types * @see proto type: tendermint.types.TxProof */ declare const TxProof: { typeUrl: string; is(o: any): o is TxProof; isAmino(o: any): o is TxProofAmino; encode(message: TxProof, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): TxProof; fromPartial(object: DeepPartial): TxProof; fromAmino(object: TxProofAmino): TxProof; toAmino(message: TxProof): TxProofAmino; fromAminoMsg(object: TxProofAminoMsg): TxProof; fromProtoMsg(message: TxProofProtoMsg): TxProof; toProto(message: TxProof): Uint8Array; toProtoMsg(message: TxProof): TxProofProtoMsg; registerTypeUrl(): void; }; //#endregion export { BlockID, BlockIDAmino, BlockIDAminoMsg, BlockIDProtoMsg, BlockMeta, BlockMetaAmino, BlockMetaAminoMsg, BlockMetaProtoMsg, Commit, CommitAmino, CommitAminoMsg, CommitProtoMsg, CommitSig, CommitSigAmino, CommitSigAminoMsg, CommitSigProtoMsg, Data, DataAmino, DataAminoMsg, DataProtoMsg, ExtendedCommit, ExtendedCommitAmino, ExtendedCommitAminoMsg, ExtendedCommitProtoMsg, ExtendedCommitSig, ExtendedCommitSigAmino, ExtendedCommitSigAminoMsg, ExtendedCommitSigProtoMsg, Header, HeaderAmino, HeaderAminoMsg, HeaderProtoMsg, LightBlock, LightBlockAmino, LightBlockAminoMsg, LightBlockProtoMsg, Part, PartAmino, PartAminoMsg, PartProtoMsg, PartSetHeader, PartSetHeaderAmino, PartSetHeaderAminoMsg, PartSetHeaderProtoMsg, Proposal, ProposalAmino, ProposalAminoMsg, ProposalProtoMsg, SignedHeader, SignedHeaderAmino, SignedHeaderAminoMsg, SignedHeaderProtoMsg, SignedMsgType, SignedMsgTypeAmino, TxProof, TxProofAmino, TxProofAminoMsg, TxProofProtoMsg, Vote, VoteAmino, VoteAminoMsg, VoteProtoMsg, signedMsgTypeFromJSON, signedMsgTypeToJSON };