import { StdFee } from "@cosmjs/launchpad"; import { SigningStargateClientOptions } from "@cosmjs/stargate"; import { Registry, OfflineSigner, EncodeObject } from "@cosmjs/proto-signing"; import { Api } from "./rest"; import { MsgUndelegate } from "./types/cosmos/staking/v2beta1/tx"; import { MsgSetValidatorApproval } from "./types/cosmos/staking/v2beta1/tx"; import { MsgEditValidator } from "./types/cosmos/staking/v2beta1/tx"; import { MsgBeginRedelegate } from "./types/cosmos/staking/v2beta1/tx"; import { MsgCreateWhitelistDelegator } from "./types/cosmos/staking/v2beta1/tx"; import { MsgDeleteWhitelistDelegator } from "./types/cosmos/staking/v2beta1/tx"; import { MsgCreateValidator } from "./types/cosmos/staking/v2beta1/tx"; import { MsgDelegate } from "./types/cosmos/staking/v2beta1/tx"; export declare const MissingWalletError: Error; export declare const registry: Registry; interface TxClientOptions { addr: string; } export interface SignAndBroadcastOptions { fee: StdFee | "auto"; memo?: string; } declare const txClient: (wallet: OfflineSigner, { addr }?: TxClientOptions, options?: SigningStargateClientOptions) => Promise<{ signAndBroadcast: (msgs: EncodeObject[], { fee, memo }?: SignAndBroadcastOptions) => any; msgUndelegate: (data: MsgUndelegate) => EncodeObject; msgSetValidatorApproval: (data: MsgSetValidatorApproval) => EncodeObject; msgEditValidator: (data: MsgEditValidator) => EncodeObject; msgBeginRedelegate: (data: MsgBeginRedelegate) => EncodeObject; msgCreateWhitelistDelegator: (data: MsgCreateWhitelistDelegator) => EncodeObject; msgDeleteWhitelistDelegator: (data: MsgDeleteWhitelistDelegator) => EncodeObject; msgCreateValidator: (data: MsgCreateValidator) => EncodeObject; msgDelegate: (data: MsgDelegate) => EncodeObject; }>; interface QueryClientOptions { addr: string; } declare const queryClient: ({ addr }?: QueryClientOptions) => Promise>; export { txClient, queryClient, };