import type UniversalProvider from '@walletconnect/universal-provider'; import { type ChainNamespace } from '@reown/appkit-common'; import { AdapterBlueprint } from '@reown/appkit-controllers'; export declare class UniversalAdapter extends AdapterBlueprint { setUniversalProvider(universalProvider: UniversalProvider): Promise; connect(params: AdapterBlueprint.ConnectParams): Promise; disconnect(): Promise<{ connections: never[]; }>; syncConnections(): Promise; writeSolanaTransaction(): Promise; getAccounts({ namespace }: AdapterBlueprint.GetAccountsParams & { namespace: ChainNamespace; }): Promise; syncConnectors(): Promise; getBalance(params: AdapterBlueprint.GetBalanceParams): Promise; signMessage(params: AdapterBlueprint.SignMessageParams): Promise; /** * * These methods are supported only on `wagmi` and `ethers` since the Solana SDK does not support them in the same way. * These function definition is to have a type parity between the clients. Currently not in use. */ estimateGas(): Promise; sendTransaction(): Promise; walletGetAssets(_params: AdapterBlueprint.WalletGetAssetsParams): Promise; writeContract(): Promise; emitFirstAvailableConnection(): void; parseUnits(): AdapterBlueprint.ParseUnitsResult; formatUnits(): AdapterBlueprint.FormatUnitsResult; getCapabilities(): Promise; grantPermissions(): Promise; revokePermissions(): Promise<`0x${string}`>; syncConnection(): Promise<{ id: string; type: "WALLET_CONNECT"; chainId: number; provider: UniversalProvider; address: string; }>; switchNetwork(params: AdapterBlueprint.SwitchNetworkParams): Promise; getWalletConnectProvider(): UniversalProvider; }