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