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 { MsgCreateVestingAccount } from "./types/cosmos/vesting/v1beta1/tx"; import { MsgCreatePermanentLockedAccount } from "./types/cosmos/vesting/v1beta1/tx"; import { MsgCreatePeriodicVestingAccount } from "./types/cosmos/vesting/v1beta1/tx"; export { MsgCreateVestingAccount, MsgCreatePermanentLockedAccount, MsgCreatePeriodicVestingAccount }; declare type sendMsgCreateVestingAccountParams = { value: MsgCreateVestingAccount; fee?: StdFee; memo?: string; }; declare type sendMsgCreatePermanentLockedAccountParams = { value: MsgCreatePermanentLockedAccount; fee?: StdFee; memo?: string; }; declare type sendMsgCreatePeriodicVestingAccountParams = { value: MsgCreatePeriodicVestingAccount; fee?: StdFee; memo?: string; }; declare type msgCreateVestingAccountParams = { value: MsgCreateVestingAccount; }; declare type msgCreatePermanentLockedAccountParams = { value: MsgCreatePermanentLockedAccount; }; declare type msgCreatePeriodicVestingAccountParams = { value: MsgCreatePeriodicVestingAccount; }; export declare const registry: Registry; interface TxClientOptions { addr: string; prefix: string; signer?: OfflineSigner; } export declare const txClient: ({ signer, prefix, addr }?: TxClientOptions) => { sendMsgCreateVestingAccount({ value, fee, memo }: sendMsgCreateVestingAccountParams): Promise; sendMsgCreatePermanentLockedAccount({ value, fee, memo }: sendMsgCreatePermanentLockedAccountParams): Promise; sendMsgCreatePeriodicVestingAccount({ value, fee, memo }: sendMsgCreatePeriodicVestingAccountParams): Promise; msgCreateVestingAccount({ value }: msgCreateVestingAccountParams): EncodeObject; msgCreatePermanentLockedAccount({ value }: msgCreatePermanentLockedAccountParams): EncodeObject; msgCreatePeriodicVestingAccount({ value }: msgCreatePeriodicVestingAccountParams): 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: { CosmosVestingV1Beta1: SDKModule; }; registry: [string, GeneratedType][]; }; export default Module;