/** * Web wallet discovery — creates {@link IframeWalletProvider} instances from a list of URLs. * * For each configured URL we probe the wallet by loading a tiny invisible iframe, * waiting for WALLET_READY, then sending a DISCOVERY request. On a successful * DISCOVERY_RESPONSE we emit an IframeWalletProvider to the caller. * * This is intentionally lightweight (no key exchange yet) — key exchange happens * later when the user selects the wallet and calls `provider.establishSecureChannel()`. */ import type { ChainInfo } from '@aztec/aztec.js/account'; import type { DiscoverySession } from '../../manager/types.js'; /** * Probes a list of web wallet URLs and returns a {@link DiscoverySession} compatible * with WalletManager's `getAvailableWallets()` interface. * * Discovered {@link IframeWalletProvider} instances are yielded asynchronously as each * wallet responds to the probe. * * @param walletUrls - URLs of web wallets to probe * @param chainInfo - Network information to pass during discovery * @returns A cancellable discovery session */ export declare function discoverWebWallets(walletUrls: string[], chainInfo: ChainInfo): DiscoverySession; //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaWZyYW1lX2Rpc2NvdmVyeS5kLnRzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vc3JjL2lmcmFtZS9wcm92aWRlci9pZnJhbWVfZGlzY292ZXJ5LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOzs7Ozs7Ozs7R0FTRztBQUNILE9BQU8sS0FBSyxFQUFFLFNBQVMsRUFBRSxNQUFNLHlCQUF5QixDQUFDO0FBR3pELE9BQU8sS0FBSyxFQUFFLGdCQUFnQixFQUFrQixNQUFNLHdCQUF3QixDQUFDO0FBTS9FOzs7Ozs7Ozs7O0dBVUc7QUFDSCx3QkFBZ0Isa0JBQWtCLENBQUMsVUFBVSxFQUFFLE1BQU0sRUFBRSxFQUFFLFNBQVMsRUFBRSxTQUFTLEdBQUcsZ0JBQWdCLENBdUYvRiJ9