import { TokenCurrency } from "@ledgerhq/types-cryptoassets"; import { CryptoAssetsStore } from "@ledgerhq/types-live"; import { CryptoAssetsApi } from "./api"; /** * Simple adapter that implements CryptoAssetsStore interface using RTK Query API directly. * The persistent caching is handled internally by the API's custom baseQuery. */ export declare class RtkCryptoAssetsStore implements CryptoAssetsStore { private readonly api; private readonly dispatch; constructor(api: CryptoAssetsApi, dispatch: (action: T) => Promise); findTokenById(id: string): Promise; findTokenByAddressInCurrency(address: string, currencyId: string): Promise; getTokensSyncHash(currencyId: string): Promise; getApi(): CryptoAssetsApi; } export declare function createRtkCryptoAssetsStore(api: CryptoAssetsApi, dispatch: (action: T) => Promise): RtkCryptoAssetsStore; //# sourceMappingURL=store.d.ts.map