import { TokenBalance } from '@0xsquid/sdk/dist/types';
import { Squid } from '@0xsquid/sdk';
import { RouteData, RouteResponseData, Token } from '../types';
import { SquidPostHook } from '../../primary-sales';
export declare const useRoutes: () => {
    fetchRoutes: (squid: Squid, tokens: Token[], balances: TokenBalance[], toChainId: string, toTokenAddress: string, toAmount: string, bulkNumber?: number, delayMs?: number, isSwapAllowed?: boolean) => Promise<RouteData[]>;
    getRoute: (squid: Squid, fromToken: Token, toToken: Token, toAddress: string, fromAmount: string, toAmount: string, fromAddress?: string, quoteOnly?: boolean, postHook?: SquidPostHook) => Promise<RouteResponseData>;
};
