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