+ this.claimable_amount_satoshis = bindings.LDKBalance_MaybeTimeoutClaimableHTLC_get_claimable_amount_satoshis(ptr);
+ this.claimable_height = bindings.LDKBalance_MaybeTimeoutClaimableHTLC_get_claimable_height(ptr);
+ }
+}
+/** A Balance of type MaybePreimageClaimableHTLC */
+export class Balance_MaybePreimageClaimableHTLC extends Balance {
+ /**
+ * The amount potentially available to claim, in satoshis, excluding the on-chain fees
+ * which will be required to do so.
+ */
+ public claimable_amount_satoshis: bigint;
+ /**
+ * The height at which our counterparty will be able to claim the balance if we have not
+ * yet received the preimage and claimed it ourselves.
+ */
+ public expiry_height: number;
+ /* @internal */
+ public constructor(ptr: bigint) {
+ super(null, ptr);
+ this.claimable_amount_satoshis = bindings.LDKBalance_MaybePreimageClaimableHTLC_get_claimable_amount_satoshis(ptr);
+ this.expiry_height = bindings.LDKBalance_MaybePreimageClaimableHTLC_get_expiry_height(ptr);
+ }
+}
+/** A Balance of type CounterpartyRevokedOutputClaimable */
+export class Balance_CounterpartyRevokedOutputClaimable extends Balance {
+ /**
+ * The amount, in satoshis, of the output which we can claim.
+ *
+ * Note that for outputs from HTLC balances this may be excluding some on-chain fees that
+ * were already spent.
+ */
+ public claimable_amount_satoshis: bigint;
+ /* @internal */
+ public constructor(ptr: bigint) {
+ super(null, ptr);
+ this.claimable_amount_satoshis = bindings.LDKBalance_CounterpartyRevokedOutputClaimable_get_claimable_amount_satoshis(ptr);