import type { IBaseWalletFactoryOptions } from '@kadena/wallet-adapter-core'; export interface IWalletConnectFactoryOptions extends IBaseWalletFactoryOptions { relayUrl?: string; projectId?: string; } /** * WalletConnect Adapter Factory * * This function creates a WalletConnect adapter factory that detects the WalletConnect provider * and returns a new instance of the `WalletConnectAdapter`. The adapter method **lazily** imports * the `WalletConnectAdapter` class. The `detect` function is separated so that the `WalletAdapterClient` * can check for the provider without instantiating the adapter. * * By using `await import("./WalletConnectAdapter")`, the adapter code for WalletConnect is only loaded * when it is actually needed. This **lazy loading** approach helps reduce your initial bundle size, * especially when multiple wallet adapters might be registered but not all are necessarily used. * * @param options - The options object from BaseWalletAdapter. * @returns An object containing the adapter factory details for WalletConnect. * @public */ export declare const createWalletConnectAdapter: (options?: IWalletConnectFactoryOptions) => { name: string; detect: () => Promise; adapter: (provider: import("@kadena/wallet-adapter-core").IProvider) => Promise; };