import { NetworkRoute, NetworkRouteToken } from '@layerswap/widget-types'; /** * Picks the top-ranked source route + active token for the deposit-address * flow. Shared between the form's auto-source effect and the deposit widget's * prefetcher so both always agree on the same pick. */ export declare function pickAutoSource(sourceRoutes: NetworkRoute[] | undefined): { network: NetworkRoute; token: NetworkRouteToken; } | undefined; /** * Auto-selects a source network and token for the deposit address flow. * Fetches available sources for the selected destination and picks the first active one. */ export default function useAutoSourceRoute(): { sourceRoutes: NetworkRoute[] | undefined; isLoading: boolean; isAutoSourceUpdating: boolean; }; //# sourceMappingURL=useAutoSourceRoute.d.ts.map