export type LicenseTier = 'community' | 'pro' | 'business' | 'enterprise'; export declare const LICENSE_TIERS: readonly LicenseTier[]; export interface LicensePayload { customer: string; tier: LicenseTier; issuedAt: string; expiresAt: string; licenseId: string; } export interface LicenseFile extends LicensePayload { sig: { alg: 'Ed25519'; keyId: string; value: string; }; } export interface LicenseVerifyResult { valid: boolean; tier: LicenseTier; customer: string | null; expiresAt: string | null; reason: string; } export declare function licenseHash(payload: LicensePayload): string; /** * Verify a license file's contents against an Ed25519 public key (PEM). * Never throws for bad input — the MIT core stays usable. */ export declare function verifyLicense(fileContents: string, publicKeyPem: string): LicenseVerifyResult; /** * Test helper. Not a sales CLI — there is no `conarium-license` binary. * Signs with the same hash-then-Ed25519 construction receipts use. */ export declare function signLicense(payload: LicensePayload, privatePem: string, keyId: string): string; //# sourceMappingURL=license.d.ts.map