import Long from "long"; import _m0 from "protobufjs/minimal"; import { Params, ValidatorSigningInfo } from "../../../cosmos/slashing/v1beta1/slashing"; export declare const protobufPackage = "cosmos.slashing.v1beta1"; /** GenesisState defines the slashing module's genesis state. */ export interface GenesisState { /** params defines all the paramaters of related to deposit. */ params?: Params; /** * signing_infos represents a map between validator addresses and their * signing infos. */ signingInfos: SigningInfo[]; /** * missed_blocks represents a map between validator addresses and their * missed blocks. */ missedBlocks: ValidatorMissedBlocks[]; } /** SigningInfo stores validator signing info of corresponding address. */ export interface SigningInfo { /** address is the validator address. */ address: string; /** validator_signing_info represents the signing info of this validator. */ validatorSigningInfo?: ValidatorSigningInfo; } /** * ValidatorMissedBlocks contains array of missed blocks of corresponding * address. */ export interface ValidatorMissedBlocks { /** address is the validator address. */ address: string; /** missed_blocks is an array of missed blocks by the validator. */ missedBlocks: MissedBlock[]; } /** MissedBlock contains height and missed status as boolean. */ export interface MissedBlock { /** index is the height at which the block was missed. */ index: Long; /** missed is the missed status. */ missed: boolean; } export declare const GenesisState: { encode(message: GenesisState, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number | undefined): GenesisState; fromJSON(object: any): GenesisState; toJSON(message: GenesisState): unknown; fromPartial(object: DeepPartial): GenesisState; }; export declare const SigningInfo: { encode(message: SigningInfo, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number | undefined): SigningInfo; fromJSON(object: any): SigningInfo; toJSON(message: SigningInfo): unknown; fromPartial(object: DeepPartial): SigningInfo; }; export declare const ValidatorMissedBlocks: { encode(message: ValidatorMissedBlocks, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number | undefined): ValidatorMissedBlocks; fromJSON(object: any): ValidatorMissedBlocks; toJSON(message: ValidatorMissedBlocks): unknown; fromPartial(object: DeepPartial): ValidatorMissedBlocks; }; export declare const MissedBlock: { encode(message: MissedBlock, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number | undefined): MissedBlock; fromJSON(object: any): MissedBlock; toJSON(message: MissedBlock): unknown; fromPartial(object: DeepPartial): MissedBlock; }; declare type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined | Long; export declare type DeepPartial = T extends Builtin ? T : T extends Array ? Array> : T extends ReadonlyArray ? ReadonlyArray> : T extends {} ? { [K in keyof T]?: DeepPartial; } : Partial; export {};