import Long from "long"; import _m0 from "protobufjs/minimal"; import { EvidenceList } from "../../../../tendermint/types/evidence"; import { BlockID, Commit, Data } from "../../../../tendermint/types/types"; import { Consensus } from "../../../../tendermint/version/types"; export declare const protobufPackage = "cosmos.base.tendermint.v1beta1"; /** * Block is tendermint type Block, with the Header proposer address * field converted to bech32 string. */ export interface Block { header: Header | undefined; data: Data | undefined; evidence: EvidenceList | undefined; lastCommit: Commit | undefined; } /** Header defines the structure of a Tendermint block header. */ export interface Header { /** basic block info */ version: Consensus | undefined; chainId: string; height: Long; time: Date | undefined; /** prev block info */ lastBlockId: BlockID | undefined; /** 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; /** * proposer_address is the original block proposer address, formatted as a Bech32 string. * In Tendermint, this type is `bytes`, but in the SDK, we convert it to a Bech32 string * for better UX. */ proposerAddress: string; } export declare const Block: { encode(message: Block, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): Block; fromJSON(object: any): Block; toJSON(message: Block): unknown; create(base?: DeepPartial): Block; fromPartial(object: DeepPartial): Block; }; export declare const Header: { encode(message: Header, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): Header; fromJSON(object: any): Header; toJSON(message: Header): unknown; create(base?: DeepPartial
): Header; fromPartial(object: DeepPartial
): Header; }; type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined; export type DeepPartial = T extends Builtin ? T : T extends Long ? string | number | Long : T extends globalThis.Array ? globalThis.Array> : T extends ReadonlyArray ? ReadonlyArray> : T extends {} ? { [K in keyof T]?: DeepPartial; } : Partial; export {};