import type { CryptoCurrency } from "@ledgerhq/ledger-wallet-framework/types"; import type { WalletBtcCurrency } from "@ledgerhq/wallet-btc/crypto/types"; import type { BitcoinCoinConfig } from "./config"; /** The part of the coin config wallet-btc needs to reach the explorer. */ export type ExplorerConfig = Pick; /** * Resolve a wallet-btc currency descriptor from a Ledger CryptoCurrency. * * wallet-btc is dependency-inverted: it reads neither the currency registry nor * any configuration. coin-bitcoin injects the explorer id, endpoint and batch size from the * coin config. */ export declare const toWalletBtcCurrency: (currency: CryptoCurrency, config: ExplorerConfig) => WalletBtcCurrency; /** Same as {@link toWalletBtcCurrency} but from a currency id (e.g. when rehydrating a serialized account). */ export declare const walletBtcCurrencyById: (currencyId: string, config: ExplorerConfig) => WalletBtcCurrency; //# sourceMappingURL=walletBtcCurrency.d.ts.map