import { Provider } from '@ethersproject/abstract-provider'; export declare class TokenMetadataFetcher { private providers; private decimalsCache; constructor(chainIdToProvider: { [chainId: number]: Provider; }); /** * Gets the number of decimals for a token. * Uses a cache to avoid repeated contract calls. * Returns 18 for native tokens. * * @param chainId - The chain ID of the token. * @param token - The token address. * @returns The number of decimals for the token. */ getTokenDecimals(chainId: number, token: string): Promise; }