import * as Long from 'long'; import { Duration } from '../../../google/protobuf/duration'; import { Writer, Reader } from 'protobufjs/minimal'; /** * ValidatorSigningInfo defines a validator's signing info for monitoring their * liveness activity. */ export interface ValidatorSigningInfo { address: string; /** * height at which validator was first a candidate OR was unjailed */ startHeight: Long; /** * index offset into signed block bit array */ indexOffset: Long; /** * timestamp validator cannot be unjailed until */ jailedUntil?: Date; /** * whether or not a validator has been tombstoned (killed out of validator * set) */ tombstoned: boolean; /** * missed blocks counter (to avoid scanning the array every time) */ missedBlocksCounter: Long; } /** * Params represents the parameters used for by the slashing module. */ export interface Params { signedBlocksWindow: Long; minSignedPerWindow: Uint8Array; downtimeJailDuration?: Duration; slashFractionDoubleSign: Uint8Array; slashFractionDowntime: Uint8Array; } export declare const protobufPackage = "cosmos.slashing.v1beta1"; export declare const ValidatorSigningInfo: { encode(message: ValidatorSigningInfo, writer?: Writer): Writer; decode(input: Uint8Array | Reader, length?: number | undefined): ValidatorSigningInfo; fromJSON(object: any): ValidatorSigningInfo; fromPartial(object: DeepPartial): ValidatorSigningInfo; toJSON(message: ValidatorSigningInfo): unknown; }; export declare const Params: { encode(message: Params, writer?: Writer): Writer; decode(input: Uint8Array | Reader, length?: number | undefined): Params; fromJSON(object: any): Params; fromPartial(object: DeepPartial): Params; toJSON(message: Params): unknown; }; declare type Builtin = Date | Function | Uint8Array | string | number | undefined; 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 {};