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