import { Token } from '../../../types/index';

/**
 * This hook is used to switch the source/dest token when the same token is selected for both.
 */
export declare const useFallbackToken: ({ tokenA, tokenB, }: {
    tokenA?: Token;
    tokenB?: Token;
}) => readonly [Token | undefined, (tokenA: Token, tokenB: Token) => Token | undefined];
