UNPKG

lightningdevkit

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