lightningdevkit
Version:
Lightning Development Kit
30 lines (29 loc) • 1.38 kB
text/typescript
import { OutboundHTLCStateDetails } from '../enums/OutboundHTLCStateDetails.mjs';
import { CommonBase } from './CommonBase.mjs';
/**
* An enum which can either contain a crate::lightning::ln::channel_state::OutboundHTLCStateDetails or not
*/
export declare class Option_OutboundHTLCStateDetailsZ extends CommonBase {
protected constructor(_dummy: null, ptr: bigint);
/**
* Constructs a new COption_OutboundHTLCStateDetailsZ containing a crate::lightning::ln::channel_state::OutboundHTLCStateDetails
*/
static constructor_some(o: OutboundHTLCStateDetails): Option_OutboundHTLCStateDetailsZ;
/**
* Constructs a new COption_OutboundHTLCStateDetailsZ containing nothing
*/
static constructor_none(): Option_OutboundHTLCStateDetailsZ;
clone_ptr(): bigint;
/**
* Creates a new COption_OutboundHTLCStateDetailsZ which has the same data as `orig`
* but with all dynamically-allocated buffers duplicated in new buffers.
*/
clone(): Option_OutboundHTLCStateDetailsZ;
}
/** A Option_OutboundHTLCStateDetailsZ of type Some */
export declare class Option_OutboundHTLCStateDetailsZ_Some extends Option_OutboundHTLCStateDetailsZ {
some: OutboundHTLCStateDetails;
}
/** A Option_OutboundHTLCStateDetailsZ of type None */
export declare class Option_OutboundHTLCStateDetailsZ_None extends Option_OutboundHTLCStateDetailsZ {
}