UNPKG

lightningdevkit

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