lightningdevkit
Version:
Lightning Development Kit
31 lines (30 loc) • 1.34 kB
text/typescript
import { IOError } from '../enums/IOError.mjs';
import { ThreeTuple_StrStrStrZ } from '../structs/ThreeTuple_StrStrStrZ.mjs';
import { CommonBase } from './CommonBase.mjs';
export declare class Result_CVec_C3Tuple_StrStrStrZZIOErrorZ extends CommonBase {
protected constructor(_dummy: null, ptr: bigint);
/**
* Creates a new CResult_CVec_C3Tuple_StrStrStrZZIOErrorZ in the success state.
*/
static constructor_ok(o: ThreeTuple_StrStrStrZ[]): Result_CVec_C3Tuple_StrStrStrZZIOErrorZ;
/**
* Creates a new CResult_CVec_C3Tuple_StrStrStrZZIOErrorZ in the error state.
*/
static constructor_err(e: IOError): Result_CVec_C3Tuple_StrStrStrZZIOErrorZ;
/**
* Checks if the given object is currently in the success state
*/
is_ok(): boolean;
clone_ptr(): bigint;
/**
* Creates a new CResult_CVec_C3Tuple_StrStrStrZZIOErrorZ which has the same data as `orig`
* but with all dynamically-allocated buffers duplicated in new buffers.
*/
clone(): Result_CVec_C3Tuple_StrStrStrZZIOErrorZ;
}
export declare class Result_CVec_C3Tuple_StrStrStrZZIOErrorZ_OK extends Result_CVec_C3Tuple_StrStrStrZZIOErrorZ {
res: ThreeTuple_StrStrStrZ[];
}
export declare class Result_CVec_C3Tuple_StrStrStrZZIOErrorZ_Err extends Result_CVec_C3Tuple_StrStrStrZZIOErrorZ {
err: IOError;
}