# 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:61 (opens new window)
The capability tokens the key carries, spelled as the key spells them, recognized or not. Only the ones this library version recognizes grant anything.
# expiry
• expiry: LicenseExpiry
Defined in src/license/LicenseEntitlement.ts:62 (opens new window)
# isTrial
• isTrial: boolean
Defined in src/license/LicenseEntitlement.ts:73 (opens new window)
# silent
• silent: boolean
Defined in src/license/LicenseEntitlement.ts:72 (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, and nothing reports it),
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.
# unrestricted
• unrestricted: boolean
Defined in src/license/LicenseEntitlement.ts:56 (opens new window)
true for every key that restricts nothing: classic keys, gpl-v3, and any key that blocks
evaluation (a missing or invalid key, an expired classic key, or a trial past its grace
period). An entitlement key that has expired but keeps evaluating is not one of them: it keeps
its own grants.