lightningdevkit
Version:
Lightning Development Kit
25 lines (24 loc) • 1.44 kB
text/typescript
import { Bolt12SemanticError } from '../enums/Bolt12SemanticError.mjs';
import { InvoiceWithExplicitSigningPubkeyBuilder } from '../structs/InvoiceWithExplicitSigningPubkeyBuilder.mjs';
import { CommonBase } from './CommonBase.mjs';
export declare class Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ extends CommonBase {
protected constructor(_dummy: null, ptr: bigint);
/**
* Creates a new CResult_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ in the success state.
*/
static constructor_ok(o: InvoiceWithExplicitSigningPubkeyBuilder): Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ;
/**
* Creates a new CResult_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ in the error state.
*/
static constructor_err(e: Bolt12SemanticError): Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ;
/**
* Checks if the given object is currently in the success state
*/
is_ok(): boolean;
}
export declare class Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ_OK extends Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ {
res: InvoiceWithExplicitSigningPubkeyBuilder;
}
export declare class Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ_Err extends Result_InvoiceWithExplicitSigningPubkeyBuilderBolt12SemanticErrorZ {
err: Bolt12SemanticError;
}