import { Index } from 'lunr'; import { TokenInfo } from '@solana/spl-token-registry'; import { Address } from '@project-serum/anchor'; import { ChainId, Net } from '../../../shared/runtime.js'; declare class BaseTokenProvider { protected tokenMap: Map; protected engine: Index | undefined; readonly chainId: ChainId; readonly cluster: Net; protected loading: boolean; protected queue: Array; constructor(); protected getTokenList: () => Promise; findAtomicTokens: (addr: Address) => Promise<(TokenInfo | undefined)[] | undefined>; getPrice: (addr: Address) => Promise; protected _init: () => Promise<[Map, Index]>; all: () => Promise; findByAddress: (addr: Address) => Promise; find: (keyword: string, limit?: number) => Promise; } export default BaseTokenProvider;