UNPKG

lightningdevkit

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