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