import type { LicenseKeyFormat } from './types'; /** * Tells which format a license key is in, without validating it. The * entitlement key carries no leading tag - it starts with prose and ends with * the bracketed machine-readable block - so the formats have to be told apart * in one place, and this is it. * * The answer is about SHAPE only. An "entitlement" result means "read this with * the entitlement reader", not "this key is valid". * * @param {string} licenseKey The license key to inspect. * @returns {LicenseKeyFormat} */ export declare function detectLicenseKeyFormat(licenseKey: unknown): LicenseKeyFormat; /** * Tells whether a license key has the shape of an entitlement key. This is the * cheap routing test taken before any parsing - a legacy key pays two string * scans for it. * * @param {string} licenseKey The license key to test. * @returns {boolean} */ export declare function isEntitlementKey(licenseKey: unknown): boolean;