import { GraphQLClient } from 'graphql-request'; import { TokenData } from '../../types'; export declare type TokenFields = { id: string; symbol: string; name: string; derivedETH: string; totalSupply: string; volume: string; volumeUSD: string; feesUSD: string; txCount: string; liquidity: string; untrackedVolumeUSD: string; }; export declare const mapToken: (token: TokenFields) => TokenData; /** * * @param client * @param tokenAddress * @returns {Promise} */ export declare const fetchTokenData: (client: GraphQLClient, tokenAddress: string, blockNumber?: number | undefined | null) => Promise; /** * * @param client * @param tokenAddress * @param blockNumber * @returns {Promise<*[]|PoolData[]>} */ export declare const fetchPastTokenData: (client: GraphQLClient, tokenAddress: string, blockNumber: number | undefined) => Promise;