import { type Network } from 'bitcoinjs-lib'; /** * Gets the Bitcoin network by decoding the address (bech32 human-readable * part, or base58 version byte) rather than checking a single leading * character, which misreads legacy testnet (m/n/2...) and regtest (bcrt1...) * addresses as mainnet. Base58 can't distinguish testnet from regtest (they * share version bytes), so a base58 testnet-versioned address resolves to * networks.testnet. Anything undecodable defaults to mainnet. * @param accountAddress - The Bitcoin address * @returns The Bitcoin network (mainnet, testnet, or regtest) */ export declare const getBitcoinNetwork: (accountAddress: string) => Network;