# LicenseEntitlement

The resolved set of things a license grants, independent of how the underlying license key
was parsed.

[CapabilityRegistry](../classes/capabilityregistry.md) turns it into a `ResolvedCapabilities` set, gate B in the
interpreter reads that set, and `ensureCapability` reads it for the public API. `resolveLicense` builds it from the
configured key.

## Properties

### capabilities 

• **capabilities**: *ReadonlySet‹string›*

*Defined in [src/license/LicenseEntitlement.ts:54](https://github.com/handsontable/hyperformula/blob/5b72a24/src/license/LicenseEntitlement.ts#L54)*

Capability tokens this entitlement grants, recognized by this library version.

___

### expiry 

• **expiry**: *[LicenseExpiry](licenseexpiry.md)*

*Defined in [src/license/LicenseEntitlement.ts:61](https://github.com/handsontable/hyperformula/blob/5b72a24/src/license/LicenseEntitlement.ts#L61)*

___

### isTrial 

• **isTrial**: *boolean*

*Defined in [src/license/LicenseEntitlement.ts:72](https://github.com/handsontable/hyperformula/blob/5b72a24/src/license/LicenseEntitlement.ts#L72)*

___

### silent 

• **silent**: *boolean*

*Defined in [src/license/LicenseEntitlement.ts:71](https://github.com/handsontable/hyperformula/blob/5b72a24/src/license/LicenseEntitlement.ts#L71)*

When `true`, resolving this entitlement must not print a console message of any kind.

Set from the key's own `no-console-warns` flag ONLY, as the vendored reader reads it (its
`channels.console`). An unrecognized token does NOT
set it: an unknown token makes the *grant* silent (it grants nothing, with no message and no
diagnostics getter), which is a different thing from muting the key's console output.
Coupling them would suppress expiry notices as a side effect of a vocabulary mismatch.

___

### unrecognizedCapabilities 

• **unrecognizedCapabilities**: *readonly string[]*

*Defined in [src/license/LicenseEntitlement.ts:60](https://github.com/handsontable/hyperformula/blob/5b72a24/src/license/LicenseEntitlement.ts#L60)*

Tokens present on the license payload that this library version does not recognize.
Kept for diagnostics and tests; nothing public reads this field — an
unrecognized token never grants a capability, and it does so silently.

___

### unrestricted 

• **unrestricted**: *boolean*

*Defined in [src/license/LicenseEntitlement.ts:52](https://github.com/handsontable/hyperformula/blob/5b72a24/src/license/LicenseEntitlement.ts#L52)*

`true` for every key that restricts nothing: legacy keys, `gpl-v3`, and any missing, invalid or expired key.