import type { ConvertResolvedAsset, ConvertSourceWallet, ConvertVm, GetConvertSourceWallet } from './types'; /** * Which wallet kind a source chain needs, or `undefined` when Convert can't * execute there. EVM needs the chain registered in `@funkit/chains` (wagmi * chain list, icons, explorers), which is what keeps Arc out for now. */ export declare function resolveConvertVm(chainId: string): ConvertVm | undefined; export type ConvertSourceUnavailableReason = 'unsupportedChain' | 'vmMismatch' | 'invalidWalletAddress' | 'noSignMethod' | 'resolverFailed'; export type ConvertSourceWalletSelection = { status: 'available'; vm: ConvertVm; wallet: ConvertSourceWallet; /** Checksummed for EVM and Hypercore, validated base58 for Solana. */ address: string; } | { status: 'unavailable'; reason: ConvertSourceUnavailableReason; }; /** Accepts a resolved wallet only if it is the kind the source chain needs. */ export declare function checkConvertSourceWallet(chainId: string, wallet: ConvertSourceWallet): ConvertSourceWalletSelection; /** * Resolves and validates the wallet for a source asset. The resolver is not * called for a chain Convert can't execute on, since a host resolver may do * real work (Polygon confirms the Polymarket proxy with their relayer). */ export declare function selectConvertSourceWallet({ asset, getSourceWallet, timeoutMs, }: { asset: ConvertResolvedAsset; getSourceWallet: GetConvertSourceWallet; timeoutMs?: number; }): Promise;