lightningdevkit
Version:
Lightning Development Kit
31 lines (30 loc) • 1.55 kB
text/typescript
import { IOError } from '../enums/IOError.mjs';
import { TwoTuple_ThirtyTwoBytesChannelMonitorZ } from '../structs/TwoTuple_ThirtyTwoBytesChannelMonitorZ.mjs';
import { CommonBase } from './CommonBase.mjs';
export declare class Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ extends CommonBase {
protected constructor(_dummy: null, ptr: bigint);
/**
* Creates a new CResult_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ in the success state.
*/
static constructor_ok(o: TwoTuple_ThirtyTwoBytesChannelMonitorZ): Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ;
/**
* Creates a new CResult_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ in the error state.
*/
static constructor_err(e: IOError): Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ;
/**
* Checks if the given object is currently in the success state
*/
is_ok(): boolean;
clone_ptr(): bigint;
/**
* Creates a new CResult_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ which has the same data as `orig`
* but with all dynamically-allocated buffers duplicated in new buffers.
*/
clone(): Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ;
}
export declare class Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ_OK extends Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ {
res: TwoTuple_ThirtyTwoBytesChannelMonitorZ;
}
export declare class Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ_Err extends Result_C2Tuple_ThirtyTwoBytesChannelMonitorZIOErrorZ {
err: IOError;
}