import * as bitcoinjs from "bitcoinjs-lib"; export { bitcoinjs as bitcoin }; import { H160 } from "@polkadot/types/interfaces"; import { Bytes } from "@polkadot/types"; import { TypeRegistry } from "@polkadot/types"; import { BtcAddress } from "../interfaces/default"; import { ElectrsAPI } from "../external"; export declare function encodeBtcAddress(address: BtcAddress, network: bitcoinjs.Network): string; export declare function decodeBtcAddress(address: string, network: bitcoinjs.Network): { p2pkh: string; } | { p2sh: string; } | { p2wpkhv0: string; }; export declare function btcAddressFromParams(registry: TypeRegistry, params: { p2pkh: H160 | string; } | { p2sh: H160 | string; } | { p2wpkhv0: H160 | string; }): BtcAddress; export declare function getTxProof(electrsAPI: ElectrsAPI, btcTxId?: string, merkleProof?: Bytes, rawTx?: Bytes): Promise<[Bytes, Bytes]>;