import { Token } from '@argent/x-shared'; import { FC, PropsWithChildren } from 'react'; /** TODO: reconcile Token types across packages */ export type TokenWithIconUrl = Omit & { iconUrl?: string; }; export type UseToken = ({ address, networkId, }: { address: string; networkId: string; }) => TokenWithIconUrl | undefined; interface TokenContextProps { useToken: UseToken; } export declare const useToken: UseToken; export interface TokenProviderProps extends PropsWithChildren, TokenContextProps { } export declare const TokenProvider: FC; export {};