UNPKG

lightningdevkit

Version:
30 lines (29 loc) 1.33 kB
import { RetryableSendFailure } from '../enums/RetryableSendFailure.mjs'; import { CommonBase } from './CommonBase.mjs'; export declare class Result_ThirtyTwoBytesRetryableSendFailureZ extends CommonBase { protected constructor(_dummy: null, ptr: bigint); /** * Creates a new CResult_ThirtyTwoBytesRetryableSendFailureZ in the success state. */ static constructor_ok(o: Uint8Array): Result_ThirtyTwoBytesRetryableSendFailureZ; /** * Creates a new CResult_ThirtyTwoBytesRetryableSendFailureZ in the error state. */ static constructor_err(e: RetryableSendFailure): Result_ThirtyTwoBytesRetryableSendFailureZ; /** * Checks if the given object is currently in the success state */ is_ok(): boolean; clone_ptr(): bigint; /** * Creates a new CResult_ThirtyTwoBytesRetryableSendFailureZ which has the same data as `orig` * but with all dynamically-allocated buffers duplicated in new buffers. */ clone(): Result_ThirtyTwoBytesRetryableSendFailureZ; } export declare class Result_ThirtyTwoBytesRetryableSendFailureZ_OK extends Result_ThirtyTwoBytesRetryableSendFailureZ { res: Uint8Array; } export declare class Result_ThirtyTwoBytesRetryableSendFailureZ_Err extends Result_ThirtyTwoBytesRetryableSendFailureZ { err: RetryableSendFailure; }