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 { MsgSetWithdrawAddress } from "./types/cosmos/distribution/v1beta1/tx"; import { MsgFundCommunityPool } from "./types/cosmos/distribution/v1beta1/tx"; import { MsgCommunityPoolSpend } from "./types/cosmos/distribution/v1beta1/tx"; import { MsgWithdrawDelegatorReward } from "./types/cosmos/distribution/v1beta1/tx"; import { MsgWithdrawValidatorCommission } from "./types/cosmos/distribution/v1beta1/tx"; import { MsgUpdateParams } from "./types/cosmos/distribution/v1beta1/tx"; export { MsgSetWithdrawAddress, MsgFundCommunityPool, MsgCommunityPoolSpend, MsgWithdrawDelegatorReward, MsgWithdrawValidatorCommission, MsgUpdateParams }; declare type sendMsgSetWithdrawAddressParams = { value: MsgSetWithdrawAddress; fee?: StdFee; memo?: string; }; declare type sendMsgFundCommunityPoolParams = { value: MsgFundCommunityPool; fee?: StdFee; memo?: string; }; declare type sendMsgCommunityPoolSpendParams = { value: MsgCommunityPoolSpend; fee?: StdFee; memo?: string; }; declare type sendMsgWithdrawDelegatorRewardParams = { value: MsgWithdrawDelegatorReward; fee?: StdFee; memo?: string; }; declare type sendMsgWithdrawValidatorCommissionParams = { value: MsgWithdrawValidatorCommission; fee?: StdFee; memo?: string; }; declare type sendMsgUpdateParamsParams = { value: MsgUpdateParams; fee?: StdFee; memo?: string; }; declare type msgSetWithdrawAddressParams = { value: MsgSetWithdrawAddress; }; declare type msgFundCommunityPoolParams = { value: MsgFundCommunityPool; }; declare type msgCommunityPoolSpendParams = { value: MsgCommunityPoolSpend; }; declare type msgWithdrawDelegatorRewardParams = { value: MsgWithdrawDelegatorReward; }; declare type msgWithdrawValidatorCommissionParams = { value: MsgWithdrawValidatorCommission; }; 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) => { sendMsgSetWithdrawAddress({ value, fee, memo }: sendMsgSetWithdrawAddressParams): Promise; sendMsgFundCommunityPool({ value, fee, memo }: sendMsgFundCommunityPoolParams): Promise; sendMsgCommunityPoolSpend({ value, fee, memo }: sendMsgCommunityPoolSpendParams): Promise; sendMsgWithdrawDelegatorReward({ value, fee, memo }: sendMsgWithdrawDelegatorRewardParams): Promise; sendMsgWithdrawValidatorCommission({ value, fee, memo }: sendMsgWithdrawValidatorCommissionParams): Promise; sendMsgUpdateParams({ value, fee, memo }: sendMsgUpdateParamsParams): Promise; msgSetWithdrawAddress({ value }: msgSetWithdrawAddressParams): EncodeObject; msgFundCommunityPool({ value }: msgFundCommunityPoolParams): EncodeObject; msgCommunityPoolSpend({ value }: msgCommunityPoolSpendParams): EncodeObject; msgWithdrawDelegatorReward({ value }: msgWithdrawDelegatorRewardParams): EncodeObject; msgWithdrawValidatorCommission({ value }: msgWithdrawValidatorCommissionParams): 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: { CosmosDistributionV1Beta1: SDKModule; }; registry: [string, GeneratedType][]; }; export default Module;