@ledgerhq/live-common
Version:
Common ground for the Ledger Live apps
13 lines • 483 B
TypeScript
import type { Account } from "@ledgerhq/types-live";
export interface AccountWithUpToDateCheck {
account: Account;
isUpToDate?: boolean;
}
export interface AccountsSyncStatus {
allAccounts: Account[];
accountsWithError: Account[];
areAllAccountsUpToDate: boolean;
lastSyncMs: number;
}
export declare function useAccountsSyncStatus(accountsWithUpToDateCheck: AccountWithUpToDateCheck[]): AccountsSyncStatus;
//# sourceMappingURL=useAccountsSyncStatus.d.ts.map