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