UNPKG

lightningdevkit

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