import Long from "long"; import _m0 from "protobufjs/minimal"; import { PublicKey } from "../crypto/keys"; export declare const protobufPackage = "tendermint.types"; /** BlockIdFlag indicates which BlockID the signature is for */ export declare enum BlockIDFlag { /** BLOCK_ID_FLAG_UNKNOWN - indicates an error condition */ BLOCK_ID_FLAG_UNKNOWN = 0, /** BLOCK_ID_FLAG_ABSENT - the vote was not received */ BLOCK_ID_FLAG_ABSENT = 1, /** BLOCK_ID_FLAG_COMMIT - voted for the block that received the majority */ BLOCK_ID_FLAG_COMMIT = 2, /** BLOCK_ID_FLAG_NIL - voted for nil */ BLOCK_ID_FLAG_NIL = 3, UNRECOGNIZED = -1 } export declare function blockIDFlagFromJSON(object: any): BlockIDFlag; export declare function blockIDFlagToJSON(object: BlockIDFlag): string; export interface ValidatorSet { validators: Validator[]; proposer: Validator | undefined; totalVotingPower: Long; } export interface Validator { address: Uint8Array; pubKey: PublicKey | undefined; votingPower: Long; proposerPriority: Long; } export interface SimpleValidator { pubKey: PublicKey | undefined; votingPower: Long; } export declare const ValidatorSet: { encode(message: ValidatorSet, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): ValidatorSet; fromJSON(object: any): ValidatorSet; toJSON(message: ValidatorSet): unknown; create(base?: DeepPartial): ValidatorSet; fromPartial(object: DeepPartial): ValidatorSet; }; export declare const Validator: { encode(message: Validator, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): Validator; fromJSON(object: any): Validator; toJSON(message: Validator): unknown; create(base?: DeepPartial): Validator; fromPartial(object: DeepPartial): Validator; }; export declare const SimpleValidator: { encode(message: SimpleValidator, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): SimpleValidator; fromJSON(object: any): SimpleValidator; toJSON(message: SimpleValidator): unknown; create(base?: DeepPartial): SimpleValidator; fromPartial(object: DeepPartial): SimpleValidator; }; 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 {};