UNPKG

lightningdevkit

Version:
28 lines (27 loc) 923 B
import { CommonBase } from './CommonBase.mjs'; export declare class Result__u832NoneZ extends CommonBase { protected constructor(_dummy: null, ptr: bigint); /** * Creates a new CResult__u832NoneZ in the success state. */ static constructor_ok(o: Uint8Array): Result__u832NoneZ; /** * Creates a new CResult__u832NoneZ in the error state. */ static constructor_err(): Result__u832NoneZ; /** * Checks if the given object is currently in the success state */ is_ok(): boolean; clone_ptr(): bigint; /** * Creates a new CResult__u832NoneZ which has the same data as `orig` * but with all dynamically-allocated buffers duplicated in new buffers. */ clone(): Result__u832NoneZ; } export declare class Result__u832NoneZ_OK extends Result__u832NoneZ { res: Uint8Array; } export declare class Result__u832NoneZ_Err extends Result__u832NoneZ { }