/** * License management for Claude Memory Pro */ import { License, LicenseStatus, LicenseValidationResult } from './types.js'; /** * Load license from disk */ export declare function loadLicense(): License | null; /** * Save license to disk */ export declare function saveLicense(license: License): void; /** * Check if user has Pro license */ export declare function isPro(): boolean; /** * Check if key is LemonSqueezy format */ export declare function isLemonSqueezyKey(key: string): boolean; /** * Validate a license key format (accepts both LemonSqueezy and legacy formats) */ export declare function validateKeyFormat(key: string): boolean; /** * Activate a license key * * For LemonSqueezy keys: Validates against their API * For legacy keys: Format check only (backwards compatibility) */ export declare function activateLicense(key: string): Promise; /** * Deactivate (remove) the current license */ export declare function deactivateLicense(): boolean; /** * Get current license status */ export declare function getLicenseStatus(): LicenseStatus; /** * Get a user-friendly error message for Pro features */ export declare function getProFeatureMessage(featureName: string): string;