UNPKG

lightningdevkit

Version:
31 lines (30 loc) 1.69 kB
import { TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ } from '../structs/TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ.mjs'; import { ProbeSendFailure } from '../structs/ProbeSendFailure.mjs'; import { CommonBase } from './CommonBase.mjs'; export declare class Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ extends CommonBase { protected constructor(_dummy: null, ptr: bigint); /** * Creates a new CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ in the success state. */ static constructor_ok(o: TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ): Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ; /** * Creates a new CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ in the error state. */ static constructor_err(e: ProbeSendFailure): Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ; /** * Checks if the given object is currently in the success state */ is_ok(): boolean; clone_ptr(): bigint; /** * Creates a new CResult_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ which has the same data as `orig` * but with all dynamically-allocated buffers duplicated in new buffers. */ clone(): Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ; } export declare class Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ_OK extends Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ { res: TwoTuple_ThirtyTwoBytesThirtyTwoBytesZ; } export declare class Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ_Err extends Result_C2Tuple_ThirtyTwoBytesThirtyTwoBytesZProbeSendFailureZ { err: ProbeSendFailure; }