import { NETWORK, SigHash, Transaction } from '@scure/btc-signer'; import { Network } from '../network/network'; import { UtxoToSign } from './signer.dto'; export declare class Signer { private readonly network; private readonly bitcoinjsLibNetwork; private readonly privateKey; private readonly publicKey; private readonly segwitAddress; private readonly taprootAddress; constructor(secretKey: string, networkName: Network); private generateSegwitData; private generateTaprootData; getSegwitAddress(): string; getTaprootAddress(): string; getPublicKey(): Uint8Array; signMessage(message: string): string; signBip322(message: string | Buffer): string; signTransaction(utxoOwner: string, psbt: Transaction, utxos: Array, allowedSighashTypes?: Array): Transaction; } export declare const getWIF: (privateKey: Uint8Array, network: typeof NETWORK, compressed: boolean) => string; export { SigHash };