lightningdevkit
Version:
Lightning Development Kit
29 lines (28 loc) • 1.19 kB
text/typescript
import { TwoTuple_CVec_u8Zu64Z } from '../structs/TwoTuple_CVec_u8Zu64Z.mjs';
import { CommonBase } from './CommonBase.mjs';
export declare class Result_C2Tuple_CVec_u8Zu64ZNoneZ extends CommonBase {
protected constructor(_dummy: null, ptr: bigint);
/**
* Creates a new CResult_C2Tuple_CVec_u8Zu64ZNoneZ in the success state.
*/
static constructor_ok(o: TwoTuple_CVec_u8Zu64Z): Result_C2Tuple_CVec_u8Zu64ZNoneZ;
/**
* Creates a new CResult_C2Tuple_CVec_u8Zu64ZNoneZ in the error state.
*/
static constructor_err(): Result_C2Tuple_CVec_u8Zu64ZNoneZ;
/**
* Checks if the given object is currently in the success state
*/
is_ok(): boolean;
clone_ptr(): bigint;
/**
* Creates a new CResult_C2Tuple_CVec_u8Zu64ZNoneZ which has the same data as `orig`
* but with all dynamically-allocated buffers duplicated in new buffers.
*/
clone(): Result_C2Tuple_CVec_u8Zu64ZNoneZ;
}
export declare class Result_C2Tuple_CVec_u8Zu64ZNoneZ_OK extends Result_C2Tuple_CVec_u8Zu64ZNoneZ {
res: TwoTuple_CVec_u8Zu64Z;
}
export declare class Result_C2Tuple_CVec_u8Zu64ZNoneZ_Err extends Result_C2Tuple_CVec_u8Zu64ZNoneZ {
}