@ledgerhq/live-common
Version:
Common ground for the Ledger Live apps
14 lines • 473 B
TypeScript
import { Account } from "@ledgerhq/types-live";
import type { SyncState } from "./types";
export declare function useAccountSyncState({ accountId, }?: {
accountId?: string | null;
}): SyncState;
interface AccountWithSyncState {
account: Account;
syncState: SyncState;
}
export declare function useBatchAccountsSyncState({ accounts, }?: {
accounts?: (Account | null)[];
}): AccountWithSyncState[];
export {};
//# sourceMappingURL=useAccountSyncState.d.ts.map