import Long from "long"; import _m0 from "protobufjs/minimal"; import { LightBlock, Vote } from "./types"; import { Validator } from "./validator"; export declare const protobufPackage = "tendermint.types"; export interface Evidence { duplicateVoteEvidence?: DuplicateVoteEvidence | undefined; lightClientAttackEvidence?: LightClientAttackEvidence | undefined; } /** DuplicateVoteEvidence contains evidence of a validator signed two conflicting votes. */ export interface DuplicateVoteEvidence { voteA: Vote | undefined; voteB: Vote | undefined; totalVotingPower: Long; validatorPower: Long; timestamp: Date | undefined; } /** LightClientAttackEvidence contains evidence of a set of validators attempting to mislead a light client. */ export interface LightClientAttackEvidence { conflictingBlock: LightBlock | undefined; commonHeight: Long; byzantineValidators: Validator[]; totalVotingPower: Long; timestamp: Date | undefined; } export interface EvidenceList { evidence: Evidence[]; } export declare const Evidence: { encode(message: Evidence, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): Evidence; fromJSON(object: any): Evidence; toJSON(message: Evidence): unknown; create(base?: DeepPartial): Evidence; fromPartial(object: DeepPartial): Evidence; }; export declare const DuplicateVoteEvidence: { encode(message: DuplicateVoteEvidence, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): DuplicateVoteEvidence; fromJSON(object: any): DuplicateVoteEvidence; toJSON(message: DuplicateVoteEvidence): unknown; create(base?: DeepPartial): DuplicateVoteEvidence; fromPartial(object: DeepPartial): DuplicateVoteEvidence; }; export declare const LightClientAttackEvidence: { encode(message: LightClientAttackEvidence, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): LightClientAttackEvidence; fromJSON(object: any): LightClientAttackEvidence; toJSON(message: LightClientAttackEvidence): unknown; create(base?: DeepPartial): LightClientAttackEvidence; fromPartial(object: DeepPartial): LightClientAttackEvidence; }; export declare const EvidenceList: { encode(message: EvidenceList, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): EvidenceList; fromJSON(object: any): EvidenceList; toJSON(message: EvidenceList): unknown; create(base?: DeepPartial): EvidenceList; fromPartial(object: DeepPartial): EvidenceList; }; 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 {};