lightningdevkit
Version:
Lightning Development Kit
35 lines (34 loc) • 994 B
text/typescript
import { CommonBase } from './CommonBase.mjs';
/**
* Quantity of items supported by an [`Offer`].
*/
export declare class Quantity extends CommonBase {
protected constructor(_dummy: null, ptr: bigint);
clone_ptr(): bigint;
/**
* Creates a copy of the Quantity
*/
clone(): Quantity;
/**
* Utility method to constructs a new Bounded-variant Quantity
*/
static constructor_bounded(a: bigint): Quantity;
/**
* Utility method to constructs a new Unbounded-variant Quantity
*/
static constructor_unbounded(): Quantity;
/**
* Utility method to constructs a new One-variant Quantity
*/
static constructor_one(): Quantity;
}
/** A Quantity of type Bounded */
export declare class Quantity_Bounded extends Quantity {
bounded: bigint;
}
/** A Quantity of type Unbounded */
export declare class Quantity_Unbounded extends Quantity {
}
/** A Quantity of type One */
export declare class Quantity_One extends Quantity {
}