import { Transaction } from '@scure/btc-signer'; import { ProcessedInput } from '../input/input.builder.dto'; import { Network } from '../network/network'; import { AddressTxsUtxo } from '../address/address.dto'; export interface PsbtBuilderParams { network: Network; } export interface PartialPsbt { inputs: Array>; psbt: Transaction; inputUtxos: Array; } export interface Psbt extends PartialPsbt { fee: bigint; vsize: number; } export interface ReturnablePartialPsbt { inputs: Array>; psbt64: string; inputUtxos: Array; } export interface BuildPsbtParams { feeRate: bigint; dustLimit: bigint; changeAddress: string; additionalInputAmount: bigint; }