import { RouteResponse } from '@0xsquid/squid-types';
import { Chain } from '../types';
/**
 * Get the chains from the route
 * @param chains - The chains to search through
 * @param route - The route to get the chains from
 * @returns The chains from the route
 */
export declare const getRouteChains: (chains: Chain[] | null, route: RouteResponse | undefined) => {
    fromChain: Chain | undefined;
    toChain: Chain | undefined;
};
