import type { ChainData } from "@0xsquid/sdk"; import type { OfflineSigner } from "@cosmjs/proto-signing"; import type { Keplr } from "@keplr-wallet/types"; import type { UseMutationResult } from "@tanstack/react-query"; import type { ReactNode } from "react"; import React from "react"; import type { Wallet } from "../types/wallet"; interface ICosmsosContextData { connectCosmos?: UseMutationResult; cosmosConnectedWallet?: Wallet; keplrTypeWallet?: Keplr; cosmosChainId?: string; setCosmosChainId?: React.Dispatch>; isConnected?: boolean; onCosmosChainChange?: (chainId: string) => void; isInstalled?: boolean; cosmosSigner?: OfflineSigner; cosmosAddress?: string; getCosmosWalletInfos?: UseMutationResult; getCosmosAddressForChain: (chainId?: string) => Promise; } export declare const CosmosContext: React.Context; export declare const CosmosProvider: React.FC<{ children?: ReactNode; }>; export declare function useCosmosContext(): ICosmsosContextData; export {};