import type { OpenfortEthereumBridgeConnector, OpenfortEthereumBridgeValue } from '../ethereum/OpenfortEthereumBridgeContext.js'; import { type WalletConfigProps } from './walletConfigs.js'; export type ExternalConnectorProps = { id: string; connector: OpenfortEthereumBridgeConnector; isInstalled?: boolean; } & WalletConfigProps; type MapBridgeConnectorsOptions = { walletConnectName?: string; }; /** Maps bridge.connectors to ExternalConnectorProps[]. Used by EthereumBridgeStrategy and useExternalConnectors. */ export declare function mapBridgeConnectorsToWalletProps(bridge: OpenfortEthereumBridgeValue, options?: MapBridgeConnectorsOptions): ExternalConnectorProps[]; /** Returns the list of external connectors (MetaMask, WalletConnect, etc.) for the connect UI. Uses strategy when available; returns [] when embedded-only (no bridge). */ export declare function useExternalConnectors(): ExternalConnectorProps[]; /** * Ids of connectors whose provider is actually reachable right now. Targeted * injected connectors (metaMask, phantom) are registered whether or not the * extension exists, so `isInstalled`/list presence proves nothing — only * `getProvider()` does. Returns null until the probe resolves. */ export declare function useDetectedProviders(): Set | null; /** Single connector by id. */ export declare const useExternalConnector: (id: string) => ExternalConnectorProps | null; export {};