import * as btc from '@scure/btc-signer'; import type { IntegerType } from '@stacks/common'; import type { StacksNetwork, StacksNetworkName } from '@stacks/network'; import type { Utxo } from './types'; export type ReclaimPath = 'locktime' | 'early-exit'; export interface BuildReclaimOpts { path: ReclaimPath; utxo: Utxo; network: StacksNetworkName | StacksNetwork; output: { address: string; feeSats: IntegerType; }; lockScript: Uint8Array | string; } export declare function buildReclaim(opts: BuildReclaimOpts): btc.Transaction; export declare function computeReclaimSighash(tx: btc.Transaction, opts?: { witnessScript?: Uint8Array | string; amountSats?: IntegerType; }): Uint8Array; export type FinalizeReclaimOpts = { path: 'early-exit'; tx: btc.Transaction; stxAddress: string; } | { path: 'locktime'; tx: btc.Transaction; }; export declare function finalizeReclaim(opts: FinalizeReclaimOpts): { txHex: string; txid: string; };