import * as bitcoin from "bitcoinjs-lib"; export interface CommitData { controlBlock: Buffer; internalKey: Buffer; leafScript: Buffer; } /** Return type – ready for Dynamic Labs */ export interface RevealPsbtResult { outputValue: number; revealFee: number; signingIndexes: number[]; unsignedPsbtBase64: string; } /** * Build a reveal‑TX PSBT. * * @param commitTxId txid of the commit transaction * @param commitVout output index spent (usually 0) * @param commitValue value (sat) locked in that output * @param to gateway/recipient address * @param feeRate sat/vbyte you want to pay for the reveal * @param commitData controlBlock + internalKey + leafScript from makeCommitPsbt * @param network bitcoin.networks.bitcoin | testnet | regtest … */ export declare const makeRevealPsbt: (commitTxId: string, commitVout: number, commitValue: number, to: string, feeRate: number, commitData: CommitData, network: bitcoin.Network, dust?: number) => RevealPsbtResult;