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 { MsgVerifyInvariant } from "./types/cosmos/crisis/v1beta1/tx"; import { MsgUpdateParams } from "./types/cosmos/crisis/v1beta1/tx"; export { MsgVerifyInvariant, MsgUpdateParams }; declare type sendMsgVerifyInvariantParams = { value: MsgVerifyInvariant; fee?: StdFee; memo?: string; }; declare type sendMsgUpdateParamsParams = { value: MsgUpdateParams; fee?: StdFee; memo?: string; }; declare type msgVerifyInvariantParams = { value: MsgVerifyInvariant; }; declare type msgUpdateParamsParams = { value: MsgUpdateParams; }; export declare const registry: Registry; interface TxClientOptions { addr: string; prefix: string; signer?: OfflineSigner; } export declare const txClient: ({ signer, prefix, addr }?: TxClientOptions) => { sendMsgVerifyInvariant({ value, fee, memo }: sendMsgVerifyInvariantParams): Promise; sendMsgUpdateParams({ value, fee, memo }: sendMsgUpdateParamsParams): Promise; msgVerifyInvariant({ value }: msgVerifyInvariantParams): EncodeObject; msgUpdateParams({ value }: msgUpdateParamsParams): 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: { CosmosCrisisV1Beta1: SDKModule; }; registry: [string, GeneratedType][]; }; export default Module;