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