UNPKG

@ledgerhq/live-common

Version:
6 lines 885 B
import type { CryptoOrTokenCurrency } from "@ledgerhq/types-cryptoassets"; import { CreateNetworkConfigurationHookProps, NetworkConfigurationDeps, LeftElementKind, Network, NetworkHook, RightElementKind } from "../utils/type"; export declare const getLeftElement: (NetworkConfigurationDeps: NetworkConfigurationDeps) => (leftElement?: LeftElementKind) => NetworkHook | undefined; export declare const getRightElement: (NetworkConfigurationDeps: NetworkConfigurationDeps) => (rightElement?: RightElementKind) => NetworkHook | undefined; export declare const createNetworkConfigurationHook: (NetworkConfigurationDeps: NetworkConfigurationDeps) => ({ networksConfig, accounts$ }: CreateNetworkConfigurationHookProps) => (assets: CryptoOrTokenCurrency[], networks: CryptoOrTokenCurrency[]) => Array<CryptoOrTokenCurrency & Network>; //# sourceMappingURL=createNetworkConfiguration.d.ts.map