lightningdevkit
Version:
Lightning Development Kit
29 lines (28 loc) • 922 B
text/typescript
import { CommonBase } from './CommonBase.mjs';
/**
* An enum which can either contain a crate::c_types::U128 or not
*/
export declare class Option_U128Z extends CommonBase {
protected constructor(_dummy: null, ptr: bigint);
/**
* Constructs a new COption_U128Z containing a crate::c_types::U128
*/
static constructor_some(o: bigint): Option_U128Z;
/**
* Constructs a new COption_U128Z containing nothing
*/
static constructor_none(): Option_U128Z;
clone_ptr(): bigint;
/**
* Creates a new COption_U128Z which has the same data as `orig`
* but with all dynamically-allocated buffers duplicated in new buffers.
*/
clone(): Option_U128Z;
}
/** A Option_U128Z of type Some */
export declare class Option_U128Z_Some extends Option_U128Z {
some: bigint;
}
/** A Option_U128Z of type None */
export declare class Option_U128Z_None extends Option_U128Z {
}