import { Vote, LightBlock } from "./types"; import { Timestamp } from "../../google/protobuf/timestamp"; import { Validator } from "./validator"; import { BinaryReader, BinaryWriter } from "../../binary"; import { DeepPartial, Exact } from "../../helpers"; import { JsonSafe } from "../../json-safe"; export declare const protobufPackage = "tendermint.types"; export interface Evidence { duplicateVoteEvidence?: DuplicateVoteEvidence; lightClientAttackEvidence?: LightClientAttackEvidence; } /** DuplicateVoteEvidence contains evidence of a validator signed two conflicting votes. */ export interface DuplicateVoteEvidence { voteA?: Vote; voteB?: Vote; totalVotingPower: bigint; validatorPower: bigint; timestamp: Timestamp; } /** LightClientAttackEvidence contains evidence of a set of validators attempting to mislead a light client. */ export interface LightClientAttackEvidence { conflictingBlock?: LightBlock; commonHeight: bigint; byzantineValidators: Validator[]; totalVotingPower: bigint; timestamp: Timestamp; } export interface EvidenceList { evidence: Evidence[]; } export declare const Evidence: { typeUrl: string; encode(message: Evidence, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): Evidence; fromJSON(object: any): Evidence; toJSON(message: Evidence): JsonSafe; fromPartial, I>>(object: I): Evidence; }; export declare const DuplicateVoteEvidence: { typeUrl: string; encode(message: DuplicateVoteEvidence, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): DuplicateVoteEvidence; fromJSON(object: any): DuplicateVoteEvidence; toJSON(message: DuplicateVoteEvidence): JsonSafe; fromPartial, I>>(object: I): DuplicateVoteEvidence; }; export declare const LightClientAttackEvidence: { typeUrl: string; encode(message: LightClientAttackEvidence, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): LightClientAttackEvidence; fromJSON(object: any): LightClientAttackEvidence; toJSON(message: LightClientAttackEvidence): JsonSafe; fromPartial, I>>(object: I): LightClientAttackEvidence; }; export declare const EvidenceList: { typeUrl: string; encode(message: EvidenceList, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): EvidenceList; fromJSON(object: any): EvidenceList; toJSON(message: EvidenceList): JsonSafe; fromPartial, I>>(object: I): EvidenceList; };