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