UNPKG

lightningdevkit

Version:
29 lines (28 loc) 1.14 kB
import { HumanReadableName } from '../structs/HumanReadableName.mjs'; import { CommonBase } from './CommonBase.mjs'; export declare class Result_HumanReadableNameNoneZ extends CommonBase { protected constructor(_dummy: null, ptr: bigint); /** * Creates a new CResult_HumanReadableNameNoneZ in the success state. */ static constructor_ok(o: HumanReadableName): Result_HumanReadableNameNoneZ; /** * Creates a new CResult_HumanReadableNameNoneZ in the error state. */ static constructor_err(): Result_HumanReadableNameNoneZ; /** * Checks if the given object is currently in the success state */ is_ok(): boolean; clone_ptr(): bigint; /** * Creates a new CResult_HumanReadableNameNoneZ which has the same data as `orig` * but with all dynamically-allocated buffers duplicated in new buffers. */ clone(): Result_HumanReadableNameNoneZ; } export declare class Result_HumanReadableNameNoneZ_OK extends Result_HumanReadableNameNoneZ { res: HumanReadableName; } export declare class Result_HumanReadableNameNoneZ_Err extends Result_HumanReadableNameNoneZ { }