export type BasePolicy = { name: string; description: string; }; export type Policy = BasePolicy & { descriptor: string; }; export type Trx = { amount: number; psbt: string; }; export type UndecoratedBasicConfirmationTime = { height: number; timestamp: number; }; export type UndecoratedConfirmationTime = UndecoratedBasicConfirmationTime & { confirmations: number; }; export type BasicConfirmationTime = UndecoratedBasicConfirmationTime & { confirmedAt: Date; }; export type ConfirmationTime = UndecoratedConfirmationTime & { confirmedAt: Date; }; export type UndecoratedBasicTrxDetails = { txid: string; received: number; sent: number; fee: number; unconfirmed_last_seen?: number; confirmation_time?: UndecoratedBasicConfirmationTime; }; export type BasicTrxDetails = UndecoratedBasicTrxDetails & { confirmation_time?: BasicConfirmationTime; unconfirmedLastSeenAt?: Date; net: number; }; export type TrxInput = { txid: string; amount: number; }; export type TrxOutput = { txid: string; amount: number; }; type AdditionalTrxDetails = { inputs: Array; outputs: Array; lock_time: number; }; export type UndecoratedTrxDetails = UndecoratedBasicTrxDetails & AdditionalTrxDetails & { confirmation_time?: UndecoratedConfirmationTime; }; export type TrxDetails = BasicTrxDetails & AdditionalTrxDetails & { confirmation_time?: ConfirmationTime; }; export type FinalizeTrxResponse = { txid: string; trx: any; psbt: string; }; export type UtxoTxOut = { script_pubkey: string; value: number; }; export type LocalUtxo = { outpoint: string; txout: UtxoTxOut; is_spent: boolean; keychain: string; }; export type Utxo = { address: string; utxo: LocalUtxo; }; export type BaseSharedSigner = { descriptor: string; fingerprint: string; }; export type BaseOwnedSigner = { description: any; descriptor: string; fingerprint: string; name: string; t: string; }; export type PolicyPathSelector = { partial?: { selected_path: Map>; missing_to_select: Map>; }; complete?: { path: Map>; }; }; export type PolicyPathsResult = { policy_paths: Map; are_paths_equal: boolean; }; export {};