import { TokenInfo, TokenInfo as _TokenInfo, TokenList, TokenList as _TokenList } from '@uniswap/token-lists'; import { Ajv as _Ajv } from 'ajv'; import { ethers as _ethers } from 'ethers'; export type addFormatsType = (ajv: _Ajv) => void; export type AjvType = typeof _Ajv & { addFormats: addFormatsType; }; export declare const Ajv: AjvType; export declare const ajv: _Ajv; export type BridgeInfo = Record; export interface TokenInfoExtensions { bridgeInfo?: BridgeInfo; pinned?: boolean; marketCapRank?: number; usdPrice?: number; } interface TokenInfo$1 extends Omit<_TokenInfo, "extensions"> { extensions?: TokenInfoExtensions; } interface TokenList$1 extends Omit<_TokenList, "tokens"> { tokens: TokenInfo$1[]; } export declare const UNISWAP_TOKEN_LIST = "https://tokens-uniswap-org.ipns.dweb.link"; export declare const COINGECKO_TOKEN_API = "https://tokens.coingecko.com"; export declare const COINGECKO_CHAINS: string[]; export declare function getCoingekoLists(fetchParams?: any): Promise; export declare function getUniswapList(fetchParams?: any): Promise; export declare const ethers: typeof _ethers; export declare const tokenListValidator: import("ajv").ValidateFunction; export declare const tokenValidator: import("ajv").ValidateFunction; export declare function rebuildTokenList(url: string | undefined, tokenList: TokenList): Promise; export declare function getTokenList(url: string, fetchParams?: any): Promise; export declare const COINGECKO_API = "https://api.coingecko.com/api/v3/coins/markets"; export interface CoinGeckoMarket { id?: string; symbol?: string; name?: string; current_price?: number; market_cap?: number; market_cap_rank?: number; total_volume?: number; high_24h?: number; low_24h?: number; } export declare function getTopTokens(): Promise<{ topTokens: CoinGeckoMarket[]; topTokenSet: Set; }>; export { TokenInfo$1 as TokenInfo, TokenList$1 as TokenList, }; export {};