UNPKG

lightningdevkit

Version:
30 lines (29 loc) 981 B
import { TxOut } from '../structs/TxOut.mjs'; import { CommonBase } from './CommonBase.mjs'; /** * An enum which can either contain a crate::c_types::TxOut or not */ export declare class Option_TxOutZ extends CommonBase { protected constructor(_dummy: null, ptr: bigint); /** * Constructs a new COption_TxOutZ containing a crate::c_types::TxOut */ static constructor_some(o: TxOut): Option_TxOutZ; /** * Constructs a new COption_TxOutZ containing nothing */ static constructor_none(): Option_TxOutZ; clone_ptr(): bigint; /** * Creates a new COption_TxOutZ which has the same data as `orig` * but with all dynamically-allocated buffers duplicated in new buffers. */ clone(): Option_TxOutZ; } /** A Option_TxOutZ of type Some */ export declare class Option_TxOutZ_Some extends Option_TxOutZ { some: TxOut; } /** A Option_TxOutZ of type None */ export declare class Option_TxOutZ_None extends Option_TxOutZ { }