import type { TokenCurrency, CryptoCurrency } from "@ledgerhq/types-cryptoassets"; export type TokenResult = { token: TokenCurrency | undefined; loading: boolean; error: unknown; }; export type CurrencyResult = { currency: CryptoCurrency | TokenCurrency | undefined; loading: boolean; error: unknown; }; /** * Hook to find a token by its ID */ export declare function useTokenById(id: string): TokenResult; /** * Hook to find a token by its contract address and currency */ export declare function useTokenByAddressInCurrency(address: string, currencyId: string): TokenResult; /** * Hook to find a currency (crypto or token) by its ID */ export declare function useCurrencyById(id: string): CurrencyResult; //# sourceMappingURL=hooks.d.ts.map