import { StdFee } from "@cosmjs/launchpad"; import { DeliverTxResponse } from "@cosmjs/stargate"; import { EncodeObject, GeneratedType, OfflineSigner, Registry } from "@cosmjs/proto-signing"; import { IgniteClient } from "../client"; import { Api } from "./rest"; import { MsgGrant } from "./types/cosmos/authz/v1beta1/tx"; import { MsgRevoke } from "./types/cosmos/authz/v1beta1/tx"; import { MsgExec } from "./types/cosmos/authz/v1beta1/tx"; export { MsgGrant, MsgRevoke, MsgExec }; declare type sendMsgGrantParams = { value: MsgGrant; fee?: StdFee; memo?: string; }; declare type sendMsgRevokeParams = { value: MsgRevoke; fee?: StdFee; memo?: string; }; declare type sendMsgExecParams = { value: MsgExec; fee?: StdFee; memo?: string; }; declare type msgGrantParams = { value: MsgGrant; }; declare type msgRevokeParams = { value: MsgRevoke; }; declare type msgExecParams = { value: MsgExec; }; export declare const registry: Registry; interface TxClientOptions { addr: string; prefix: string; signer?: OfflineSigner; } export declare const txClient: ({ signer, prefix, addr }?: TxClientOptions) => { sendMsgGrant({ value, fee, memo }: sendMsgGrantParams): Promise; sendMsgRevoke({ value, fee, memo }: sendMsgRevokeParams): Promise; sendMsgExec({ value, fee, memo }: sendMsgExecParams): Promise; msgGrant({ value }: msgGrantParams): EncodeObject; msgRevoke({ value }: msgRevokeParams): EncodeObject; msgExec({ value }: msgExecParams): EncodeObject; }; interface QueryClientOptions { addr: string; } export declare const queryClient: ({ addr: addr }?: QueryClientOptions) => Api; declare class SDKModule { query: ReturnType; tx: ReturnType; structure: Record; registry: Array<[string, GeneratedType]>; constructor(client: IgniteClient); updateTX(client: IgniteClient): void; } declare const Module: (test: IgniteClient) => { module: { CosmosAuthzV1Beta1: SDKModule; }; registry: [string, GeneratedType][]; }; export default Module;