/**
 * License validation for EE features.
 */
export interface LicenseInfo {
    /** Whether the license is valid */
    valid: boolean;
    /** License expiration date */
    expiresAt?: Date;
    /** Features enabled by this license */
    features?: string[];
    /** Organization name */
    organization?: string;
    /** License tier */
    tier?: 'standard' | 'enterprise';
}
export interface SafeLicenseSummary {
    valid: boolean;
    isDevEnvironment: boolean;
    licenseHash?: string;
    anonymousId?: string;
    features?: string[];
    tier?: 'standard' | 'enterprise';
}
/**
 * Validate a license key and return license information.
 *
 * Currently implements a simple check for the presence of the license key.
 * In production, this would validate against a license server.
 *
 * @param licenseKey - License key to validate
 * @returns License information
 */
export declare function validateLicense(licenseKey?: string): LicenseInfo;
/**
 * Check if EE features are enabled (valid license or cache).
 *
 * @returns True if EE features should be enabled
 */
export declare function isLicenseValid(): boolean;
/**
 * @deprecated Use `isLicenseValid()` instead. This alias is provided for backward compatibility.
 */
export declare const isEELicenseValid: typeof isLicenseValid;
/**
 * Check if a specific EE feature is enabled.
 *
 * @param feature - Feature name to check
 * @returns True if the feature is enabled
 */
export declare function isFeatureEnabled(feature: string): boolean;
/**
 * Get the current license information.
 *
 * @returns License info or null if not validated yet
 */
export declare function getLicenseInfo(): LicenseInfo | null;
export declare function getSafeLicenseSummary(): SafeLicenseSummary;
/**
 * Clear the license cache (useful for testing).
 */
export declare function clearLicenseCache(): void;
/**
 * Check if running in a development/testing environment.
 * In dev, EE features work without a license per the ee/LICENSE terms.
 */
export declare function isDevEnvironment(): boolean;
/**
 * Check if EE features should be active.
 * Returns true if running in dev/test environment (always allowed) or if a valid license is present.
 */
export declare function isEEEnabled(): boolean;
//# sourceMappingURL=license.d.ts.map