import { TokenInfo } from "@uniswap/token-lists"; import { Token } from "@uniswap/sdk-core"; /** * Create a filter function to apply to a token for whether it matches a particular search query * @param search the search query to apply to the token */ export declare function createTokenFilterFunction( search: string ): (tokens: T) => boolean; export declare function filterTokens( tokens: T[], search: string ): T[]; export declare function useSortedTokensByQuery( tokens: Token[] | undefined, searchQuery: string ): Token[];