/** * Client-side license key verification for @firecms/neat. * * License keys are ECDSA P-256 signatures over a JSON payload. * Format: NEAT-. * * The public key is embedded here; the private key lives on the server. * Verification uses the Web Crypto API — zero dependencies. */ export interface LicensePayload { domain: string; email: string; iat: number; } export interface LicenseResult { valid: boolean; payload?: LicensePayload; reason?: string; } /** * Verifies a Neat license key. * * Returns `{ valid: true, payload }` if the signature is valid AND the * current hostname matches the licensed domain. * * This function never throws — it returns `{ valid: false }` on any error. */ export declare function verifyLicenseKey(licenseKey: string): Promise; /** * Updates the embedded public key at build time. * This is a convenience for the keygen tooling — not called at runtime. */ export declare function _getPublicKeyJwk(): JsonWebKey;