import Long from "long"; import _m0 from "protobufjs/minimal"; import { Duration } from "../../../google/protobuf/duration"; export declare const protobufPackage = "cosmos.slashing.v1beta1"; /** * 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 un-jailed */ startHeight: Long; /** * Index which is incremented every time a validator is bonded in a block and * _may_ have signed a pre-commit or not. This in conjunction with the * signed_blocks_window param determines the index in the missed block bitmap. */ indexOffset: Long; /** Timestamp until which the validator is jailed due to liveness downtime. */ jailedUntil: Date | undefined; /** * Whether or not a validator has been tombstoned (killed out of validator * set). It is set once the validator commits an equivocation or for any other * configured misbehavior. */ tombstoned: boolean; /** * A counter of missed (unsigned) blocks. It is used to avoid unnecessary * reads in the missed block bitmap. */ missedBlocksCounter: Long; } /** Params represents the parameters used for by the slashing module. */ export interface Params { signedBlocksWindow: Long; minSignedPerWindow: Uint8Array; downtimeJailDuration: Duration | undefined; slashFractionDoubleSign: Uint8Array; slashFractionDowntime: Uint8Array; } export declare const ValidatorSigningInfo: { encode(message: ValidatorSigningInfo, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): ValidatorSigningInfo; fromJSON(object: any): ValidatorSigningInfo; toJSON(message: ValidatorSigningInfo): unknown; create(base?: DeepPartial): ValidatorSigningInfo; fromPartial(object: DeepPartial): ValidatorSigningInfo; }; export declare const Params: { encode(message: Params, writer?: _m0.Writer): _m0.Writer; decode(input: _m0.Reader | Uint8Array, length?: number): Params; fromJSON(object: any): Params; toJSON(message: Params): unknown; create(base?: DeepPartial): Params; fromPartial(object: DeepPartial): Params; }; 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 {};