import { Rpc } from "../../../helpers"; import { MsgSubmitProposal, MsgSubmitProposalResponse, MsgExecLegacyContent, MsgExecLegacyContentResponse, MsgVote, MsgVoteResponse, MsgVoteWeighted, MsgVoteWeightedResponse, MsgDeposit, MsgDepositResponse, MsgUpdateParams, MsgUpdateParamsResponse, MsgCancelProposal, MsgCancelProposalResponse } from "./tx"; /** Msg defines the gov Msg service. */ export interface Msg { /** SubmitProposal defines a method to create new proposal given the messages. */ submitProposal(request: MsgSubmitProposal): Promise; /** * ExecLegacyContent defines a Msg to be in included in a MsgSubmitProposal * to execute a legacy content-based proposal. */ execLegacyContent(request: MsgExecLegacyContent): Promise; /** Vote defines a method to add a vote on a specific proposal. */ vote(request: MsgVote): Promise; /** VoteWeighted defines a method to add a weighted vote on a specific proposal. */ voteWeighted(request: MsgVoteWeighted): Promise; /** Deposit defines a method to add deposit on a specific proposal. */ deposit(request: MsgDeposit): Promise; /** * UpdateParams defines a governance operation for updating the x/gov module * parameters. The authority is defined in the keeper. * * Since: cosmos-sdk 0.47 */ updateParams(request: MsgUpdateParams): Promise; /** * CancelProposal defines a method to cancel governance proposal * * Since: cosmos-sdk 0.50 */ cancelProposal(request: MsgCancelProposal): Promise; } export declare class MsgClientImpl implements Msg { private readonly rpc; constructor(rpc: Rpc); submitProposal: (request: MsgSubmitProposal) => Promise; execLegacyContent: (request: MsgExecLegacyContent) => Promise; vote: (request: MsgVote) => Promise; voteWeighted: (request: MsgVoteWeighted) => Promise; deposit: (request: MsgDeposit) => Promise; updateParams: (request: MsgUpdateParams) => Promise; cancelProposal: (request: MsgCancelProposal) => Promise; }