import { ChainId } from '@dodoex/api';
import { TokenInfo, TokenList } from './type';
interface SimpleToken {
    chainId: ChainId;
    address: string;
}
export declare function getDefaultToken({ side, tokenList, occupyToken, needFindToken, chainId, }: {
    side: TokenInfo['side'];
    tokenList: TokenList;
    occupyToken?: TokenInfo | null;
    needFindToken?: SimpleToken;
    chainId?: number;
}): {
    findToken: TokenInfo | null;
    defaultToken: TokenInfo | null;
};
export declare function useTokenListDefaultToken({ chainId, account, defaultBaseToken: defaultBaseSimpleToken, defaultQuoteToken: defaultQuoteSimpleToken, tokenListInclude, }?: {
    chainId?: number;
    account?: string;
    defaultBaseToken?: SimpleToken;
    defaultQuoteToken?: SimpleToken;
    /** Must exist in tokenList */
    tokenListInclude?: boolean;
}): {
    defaultBaseToken: TokenInfo | null;
    defaultQuoteToken: TokenInfo | null;
    defaultBaseTokenLoading: boolean | undefined;
    defaultQuoteTokenLoading: boolean | undefined;
};
export {};
