/** * LicenseChecker — Verifies Pro license keys. * * Verification strategy (two-tier): * 1. Online → POST to api.csv-super.dev (3s timeout) * 2. Offline → Local JWT signature verification (fallback when no network) * * The offline fallback ensures Pro features keep working even when * the verification server is temporarily unreachable. * * License keys are JWTs signed with csv-super.dev's private RSA key. * This file contains only the public key — the private key never leaves * csv-super.dev servers. */ import type { LicenseInfo } from '../types/index.js'; export declare class LicenseChecker { private static cache; /** * Verify a license key and return full license info. * * @throws LicenseError on invalid/expired/malformed key. */ static verify(licenseKey: string): Promise; /** * Quick boolean check — returns true/false instead of throwing. */ static isValid(licenseKey: string): Promise; private static verifyOnline; private static verifyOffline; /** Clear the in-process cache (useful in tests). */ static clearCache(): void; } //# sourceMappingURL=license-checker.d.ts.map