@ledgerhq/live-common
Version:
Common ground for the Ledger Live apps
7 lines • 518 B
TypeScript
import { CryptoCurrency, CryptoCurrencyId } from "@ledgerhq/types-cryptoassets";
import { ConfigInfo } from "@ledgerhq/live-config/LiveConfig";
import { CurrencyConfig } from "@ledgerhq/coin-framework/config";
export type CurrencyLiveConfigDefinition = Partial<Record<`config_currency_${CryptoCurrencyId}`, ConfigInfo>>;
declare const getCurrencyConfiguration: <T extends CurrencyConfig>(currency: CryptoCurrency) => T & Record<string, unknown>;
export { getCurrencyConfiguration };
//# sourceMappingURL=index.d.ts.map