import type { LicenseResult } from '@vizor-vr/shared'; /** * Check whether a standalone license key is a master key (→ enterprise features). * * A master key is an ordinary server-signed license whose verified payload tier * is `'master'`. It is verified against the pinned trusted public key exactly * like any other license — a REAL Ed25519 signature is required. * * SECURITY: the previous implementation granted enterprise on two plain * string-equality checks (`tier === 'master'` and `payload.publicKey === masterPubKey`) * with NO signature verification, so anyone who knew the master public key could * self-sign a master license. That bypass is gone. * * @returns an enterprise `LicenseResult`, or `null` if this is not a validly * signed master key, or if the key is expired / not licensed for the * current domain. */ export declare function checkMasterKey(licenseKey: string): Promise; //# sourceMappingURL=master-key.d.ts.map