@ledgerhq/live-common
Version:
Common ground for the Ledger Live apps
16 lines • 943 B
TypeScript
import React from "react";
import type { Account } from "@ledgerhq/types-live";
import type { CryptoCurrency } from "@ledgerhq/types-cryptoassets";
export type Props = {
children: React.ReactNode;
accounts: Account[];
updateAccountWithUpdater: (accountId: string, updater: (arg0: Account) => Account) => void;
recoverError: (arg0: Error) => Error | null | undefined | void;
trackAnalytics: (arg0: string, arg1?: Record<string, any> | null, mandatory?: boolean) => void;
prepareCurrency: (currency: CryptoCurrency) => Promise<any>;
hydrateCurrency: (currency: CryptoCurrency) => Promise<any>;
blacklistedTokenIds?: string[];
};
export declare const BridgeSync: ({ children, accounts, updateAccountWithUpdater, recoverError, trackAnalytics, prepareCurrency, hydrateCurrency, blacklistedTokenIds, }: Props) => React.JSX.Element;
export declare function resetStates(): void;
//# sourceMappingURL=BridgeSync.d.ts.map