import { ChainData, Token } from "@0xsquid/squid-types";
/**
 * Searches for tokens based on a query string, prioritizing results in the following order:
 * 1. Exact address
 * 2. ETH on Ethereum mainnet (chainId 1)
 * 3. Native tokens of chains matching the query (e.g., BNB when searching for "binance")
 * 4. Exact matches for native tokens (e.g., native FTM when searching for "FTM")
 * 5. Other exact matches for token names or symbols
 * 6. Other native tokens that partially match the query
 * 7. Remaining tokens that partially match the query
 *
 * @param query - The search query string
 * @param tokens - Array of all available tokens
 * @param chains - Array of chain data
 * @returns An array of tokens sorted according to the priority described above
 */
export declare const searchTokens: (query: string, tokens: Token[], chains: ChainData[]) => Token[];
