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