import { Token } from '../types/index';
import { Chain } from '../store/globalSlice';

/**
 * useSearchTokens.ts
 *
 * A custom React hook used for token and network search functionality.
 *
 * Key Features:
 * - Searches a short list of tokens based on user input.
 * - Supports searching by token name, symbol, or address.
 * - Allows optional filtering by network name (if provided in search).
 * - Prioritizes results from the active network and sorts by USD balance.
 * - Returns both matching tokens and matching networks.
 *
 * @returns An object containing:
 *   - `tokenResult`: A filtered and sorted list of tokens matching the search.
 *   - `networkResult`: A list of networks matching the search query.
 */
export declare const useSearchTokens: ({ searchValue, tokens, activeNetwork, }: {
    searchValue: string;
    tokens: Token[];
    activeNetwork?: number;
}) => {
    tokenResult: Token[];
    networkResult: Chain[];
};
