UNPKG

@ledgerhq/live-common

Version:
12 lines 804 B
import type { CryptoOrTokenCurrency } from "@ledgerhq/types-cryptoassets"; import type { ReactElement } from "react"; import { NetworkConfigurationOptions, Network, BalanceUI, NetworkLeftElementKind, NetworkRightElementKind } from "../utils/type"; export type NetworksWithComponents = CryptoOrTokenCurrency & Network & { balanceData?: BalanceUI; count?: number; apy?: ReactElement; description?: string; }; export declare const sortNetworks: (result: NetworksWithComponents[], leftElement?: NetworkLeftElementKind, rightElement?: NetworkRightElementKind) => NetworksWithComponents[]; export declare function useNetworkConfiguration(networks: CryptoOrTokenCurrency[], options: NetworkConfigurationOptions): NetworksWithComponents[]; //# sourceMappingURL=createNetworkConfiguration.d.ts.map