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 { MsgRevokeAllowance } from "./types/cosmos/feegrant/v1beta1/tx"; import { MsgGrantAllowance } from "./types/cosmos/feegrant/v1beta1/tx"; export { MsgRevokeAllowance, MsgGrantAllowance }; declare type sendMsgRevokeAllowanceParams = { value: MsgRevokeAllowance; fee?: StdFee; memo?: string; }; declare type sendMsgGrantAllowanceParams = { value: MsgGrantAllowance; fee?: StdFee; memo?: string; }; declare type msgRevokeAllowanceParams = { value: MsgRevokeAllowance; }; declare type msgGrantAllowanceParams = { value: MsgGrantAllowance; }; export declare const registry: Registry; interface TxClientOptions { addr: string; prefix: string; signer?: OfflineSigner; } export declare const txClient: ({ signer, prefix, addr }?: TxClientOptions) => { sendMsgRevokeAllowance({ value, fee, memo }: sendMsgRevokeAllowanceParams): Promise; sendMsgGrantAllowance({ value, fee, memo }: sendMsgGrantAllowanceParams): Promise; msgRevokeAllowance({ value }: msgRevokeAllowanceParams): EncodeObject; msgGrantAllowance({ value }: msgGrantAllowanceParams): 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: { CosmosFeegrantV1Beta1: SDKModule; }; registry: [string, GeneratedType][]; }; export default Module;