import { default as Client } from '@walletconnect/sign-client'; import { ChainType } from '../wallets/client/IWallet'; export interface IWalletConnectSession { namespaces?: Record; topic?: string; } export declare class WalletConnectUtils { readonly projectId = "ec5947bfca9139caa22ec404d6a40f9a"; private _web3Modal; private _wclient; get web3Modal(): any; get wClient(): Client | null; constructor(); initWClient(): Promise; getChainIdWithNamespace(chain: ChainType.ETHEREUM | ChainType.BSC, isTestnet: boolean): string; getRequiredNamespaces(chainIdWithNamespace: string): { eip155: { methods: string[]; chains: string[]; events: string[]; }; }; getOptionalNamespaces(chainIdWithNamespace: string): { eip155: { methods: string[]; chains: string[]; events: never[]; }; }; getConnectedAccountFromSession(session: IWalletConnectSession): string; sign(chainIdWithNamespace: string, sessionTopic: string, address: string, message: string): Promise; } export declare const walletConnectUtils: WalletConnectUtils;