# LicenseEntitlement Interface
The resolved set of things a license grants, independent of how the underlying license key was parsed.
CapabilityRegistry 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 (opens new window)
Capability tokens this entitlement grants, recognized by this library version.
# expiry
• expiry: LicenseExpiry
Defined in src/license/LicenseEntitlement.ts:61 (opens new window)
# isTrial
• isTrial: boolean
Defined in src/license/LicenseEntitlement.ts:72 (opens new window)
# silent
• silent: boolean
Defined in src/license/LicenseEntitlement.ts:71 (opens new window)
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 (opens new window)
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 (opens new window)
true for every key that restricts nothing: legacy keys, gpl-v3, and any missing, invalid or expired key.