import { TxRpc } from "../../../types.js"; import { MsgBeginRedelegate, MsgBeginRedelegateResponse, MsgCancelUnbondingDelegation, MsgCancelUnbondingDelegationResponse, MsgCreateValidator, MsgCreateValidatorResponse, MsgDelegate, MsgDelegateResponse, MsgEditValidator, MsgEditValidatorResponse, MsgUndelegate, MsgUndelegateResponse, MsgUpdateParams, MsgUpdateParamsResponse } from "./tx.js"; //#region src/cosmos/staking/v1beta1/tx.rpc.msg.d.ts /** Msg defines the staking Msg service. */ interface Msg { /** CreateValidator defines a method for creating a new validator. */ createValidator(request: MsgCreateValidator): Promise; /** EditValidator defines a method for editing an existing validator. */ editValidator(request: MsgEditValidator): Promise; /** * Delegate defines a method for performing a delegation of coins * from a delegator to a validator. */ delegate(request: MsgDelegate): Promise; /** * BeginRedelegate defines a method for performing a redelegation * of coins from a delegator and source validator to a destination validator. */ beginRedelegate(request: MsgBeginRedelegate): Promise; /** * Undelegate defines a method for performing an undelegation from a * delegate and a validator. */ undelegate(request: MsgUndelegate): Promise; /** * CancelUnbondingDelegation defines a method for performing canceling the unbonding delegation * and delegate back to previous validator. */ cancelUnbondingDelegation(request: MsgCancelUnbondingDelegation): Promise; /** * UpdateParams defines an operation for updating the x/staking module * parameters. */ updateParams(request: MsgUpdateParams): Promise; } declare class MsgClientImpl implements Msg { private readonly rpc; constructor(rpc: TxRpc); createValidator: (request: MsgCreateValidator) => Promise; editValidator: (request: MsgEditValidator) => Promise; delegate: (request: MsgDelegate) => Promise; beginRedelegate: (request: MsgBeginRedelegate) => Promise; undelegate: (request: MsgUndelegate) => Promise; cancelUnbondingDelegation: (request: MsgCancelUnbondingDelegation) => Promise; updateParams: (request: MsgUpdateParams) => Promise; } declare const createClientImpl: (rpc: TxRpc) => MsgClientImpl; //#endregion export { Msg, MsgClientImpl, createClientImpl };