import { Rpc } from "../../../helpers"; import { MsgSetWithdrawAddress, MsgSetWithdrawAddressResponse, MsgWithdrawDelegatorReward, MsgWithdrawDelegatorRewardResponse, MsgWithdrawValidatorCommission, MsgWithdrawValidatorCommissionResponse, MsgFundCommunityPool, MsgFundCommunityPoolResponse, MsgUpdateParams, MsgUpdateParamsResponse, MsgCommunityPoolSpend, MsgCommunityPoolSpendResponse } from "./tx"; /** Msg defines the distribution Msg service. */ export interface Msg { /** * SetWithdrawAddress defines a method to change the withdraw address * for a delegator (or validator self-delegation). */ setWithdrawAddress(request: MsgSetWithdrawAddress): Promise; /** * WithdrawDelegatorReward defines a method to withdraw rewards of delegator * from a single validator. */ withdrawDelegatorReward(request: MsgWithdrawDelegatorReward): Promise; /** * WithdrawValidatorCommission defines a method to withdraw the * full commission to the validator address. */ withdrawValidatorCommission(request: MsgWithdrawValidatorCommission): Promise; /** * FundCommunityPool defines a method to allow an account to directly * fund the community pool. */ fundCommunityPool(request: MsgFundCommunityPool): Promise; /** * UpdateParams defines a governance operation for updating the x/distribution * module parameters. The authority is defined in the keeper. * * Since: cosmos-sdk 0.47 */ updateParams(request: MsgUpdateParams): Promise; /** * CommunityPoolSpend defines a governance operation for sending tokens from * the community pool in the x/distribution module to another account, which * could be the governance module itself. The authority is defined in the * keeper. * * Since: cosmos-sdk 0.47 */ communityPoolSpend(request: MsgCommunityPoolSpend): Promise; } export declare class MsgClientImpl implements Msg { private readonly rpc; constructor(rpc: Rpc); setWithdrawAddress(request: MsgSetWithdrawAddress): Promise; withdrawDelegatorReward(request: MsgWithdrawDelegatorReward): Promise; withdrawValidatorCommission(request: MsgWithdrawValidatorCommission): Promise; fundCommunityPool(request: MsgFundCommunityPool): Promise; updateParams(request: MsgUpdateParams): Promise; communityPoolSpend(request: MsgCommunityPoolSpend): Promise; } export declare const createClientImpl: (rpc: Rpc) => MsgClientImpl;