import { TxRpc } from "../../../types.js"; import { MsgExec, MsgExecResponse, MsgGrant, MsgGrantResponse, MsgRevoke, MsgRevokeResponse } from "./tx.js"; //#region src/cosmos/authz/v1beta1/tx.rpc.msg.d.ts /** Msg defines the authz Msg service. */ interface Msg { /** * Grant grants the provided authorization to the grantee on the granter's * account with the provided expiration time. If there is already a grant * for the given (granter, grantee, Authorization) triple, then the grant * will be overwritten. */ grant(request: MsgGrant): Promise; /** * Exec attempts to execute the provided messages using * authorizations granted to the grantee. Each message should have only * one signer corresponding to the granter of the authorization. */ exec(request: MsgExec): Promise; /** * Revoke revokes any authorization corresponding to the provided method name on the * granter's account that has been granted to the grantee. */ revoke(request: MsgRevoke): Promise; } declare class MsgClientImpl implements Msg { private readonly rpc; constructor(rpc: TxRpc); grant: (request: MsgGrant) => Promise; exec: (request: MsgExec) => Promise; revoke: (request: MsgRevoke) => Promise; } declare const createClientImpl: (rpc: TxRpc) => MsgClientImpl; //#endregion export { Msg, MsgClientImpl, createClientImpl };