lightningdevkit
Version:
Lightning Development Kit
29 lines (28 loc) • 1.12 kB
text/typescript
import { OnionMessagePath } from '../structs/OnionMessagePath.mjs';
import { CommonBase } from './CommonBase.mjs';
export declare class Result_OnionMessagePathNoneZ extends CommonBase {
protected constructor(_dummy: null, ptr: bigint);
/**
* Creates a new CResult_OnionMessagePathNoneZ in the success state.
*/
static constructor_ok(o: OnionMessagePath): Result_OnionMessagePathNoneZ;
/**
* Creates a new CResult_OnionMessagePathNoneZ in the error state.
*/
static constructor_err(): Result_OnionMessagePathNoneZ;
/**
* Checks if the given object is currently in the success state
*/
is_ok(): boolean;
clone_ptr(): bigint;
/**
* Creates a new CResult_OnionMessagePathNoneZ which has the same data as `orig`
* but with all dynamically-allocated buffers duplicated in new buffers.
*/
clone(): Result_OnionMessagePathNoneZ;
}
export declare class Result_OnionMessagePathNoneZ_OK extends Result_OnionMessagePathNoneZ {
res: OnionMessagePath;
}
export declare class Result_OnionMessagePathNoneZ_Err extends Result_OnionMessagePathNoneZ {
}