@ledgerhq/live-common
Version:
Common ground for the Ledger Live apps
15 lines • 576 B
TypeScript
import { CryptoOrTokenCurrency } from "@ledgerhq/types-cryptoassets";
import type { Account } from "@ledgerhq/types-live";
type AccountModuleParams = {
networks: CryptoOrTokenCurrency[];
nestedAccounts: Account[];
formatLabel: (count: number) => string;
};
export type NetworkCountItem = {
asset: CryptoOrTokenCurrency;
label: string;
count: number;
};
export declare const useNetworkAccountCounts: ({ networks, nestedAccounts, formatLabel, }: AccountModuleParams) => NetworkCountItem[];
export {};
//# sourceMappingURL=useNetworkAccountCounts.d.ts.map