import { BlockParams, EvidenceParams, ValidatorParams, ABCIParams } from "../../../tendermint/types/params"; import { BinaryReader, BinaryWriter } from "../../../binary"; import { DeepPartial, Exact, Rpc } from "../../../helpers"; import { JsonSafe } from "../../../json-safe"; export declare const protobufPackage = "cosmos.consensus.v1"; /** MsgUpdateParams is the Msg/UpdateParams request type. */ export interface MsgUpdateParams { /** authority is the address that controls the module (defaults to x/gov unless overwritten). */ authority: string; /** * params defines the x/consensus parameters to update. * VersionsParams is not included in this Msg because it is tracked * separarately in x/upgrade. * * NOTE: All parameters must be supplied. */ block?: BlockParams; evidence?: EvidenceParams; validator?: ValidatorParams; abci?: ABCIParams; } /** * MsgUpdateParamsResponse defines the response structure for executing a * MsgUpdateParams message. */ export interface MsgUpdateParamsResponse { } export declare const MsgUpdateParams: { typeUrl: string; encode(message: MsgUpdateParams, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): MsgUpdateParams; fromJSON(object: any): MsgUpdateParams; toJSON(message: MsgUpdateParams): JsonSafe; fromPartial, I>>(object: I): MsgUpdateParams; }; export declare const MsgUpdateParamsResponse: { typeUrl: string; encode(_: MsgUpdateParamsResponse, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): MsgUpdateParamsResponse; fromJSON(_: any): MsgUpdateParamsResponse; toJSON(_: MsgUpdateParamsResponse): JsonSafe; fromPartial, I>>(_: I): MsgUpdateParamsResponse; }; /** Msg defines the consensus Msg service. */ export interface Msg { /** * UpdateParams defines a governance operation for updating the x/consensus module parameters. * The authority is defined in the keeper. */ UpdateParams(request: MsgUpdateParams): Promise; } export declare class MsgClientImpl implements Msg { private readonly rpc; constructor(rpc: Rpc); UpdateParams(request: MsgUpdateParams): Promise; }