/** * Bitcoin Connector Implementation * Phase 2g - Safe feature enhancement with Bitcoin support */ import { EventEmitter } from 'events'; import type { BlockchainHealthResult, BlockchainMetrics } from '../types'; import type { AddressType, BitcoinBlock, BitcoinConfig, FeeEstimate, IBitcoinManager, LightningChannel, LightningInvoice, MultisigAddress, PSBT, PSBTOptions, SendTransactionParams, TransactionInput, TransactionOutput, UTXO } from './types'; export declare class BitcoinConnector extends EventEmitter implements IBitcoinManager { isEnabled: boolean; private network; private utxoCache; private balanceCache; private cacheTimeout; constructor(config: BitcoinConfig); initialize(): Promise; generateAddress(type: AddressType): Promise; validateAddress(address: string): Promise; getUTXOs(address: string): Promise; selectUTXOs(utxos: UTXO[], amount: number): Promise; sendTransaction(params: SendTransactionParams): Promise; createPSBT(options: PSBTOptions): Promise; signPSBT(psbt: any, _privateKey: string): Promise; broadcastTransaction(_hex: string): Promise; estimateFee(params: SendTransactionParams): Promise; getFeeRates(): Promise; getBalance(address: string): Promise; batchGetBalances(addresses: string[]): Promise; createMultisig(params: { pubkeys: string[]; m: number; network?: string; }): Promise; createMultisigPSBT(params: { multisig: MultisigAddress; inputs: TransactionInput[]; outputs: TransactionOutput[]; }): Promise; getNetwork(): string; getBlockHeight(): Promise; getBlock(hashOrHeight: string | number): Promise; lightning: { createInvoice(params: { amount: number; description: string; expiry?: number; }): Promise; decodeInvoice(_paymentRequest: string): Promise; payInvoice(_paymentRequest: string): Promise<{ paymentHash: string; }>; listChannels(): Promise; } | undefined; reinitialize(): Promise; checkHealth(): Promise; getMetrics(): BlockchainMetrics; shutdown(): Promise; getHealth(): Promise; } //# sourceMappingURL=bitcoin-connector.d.ts.map