/** * AgentGuard(TM) Spend: local license validation helpers. * * License checks send only license key fingerprints, anonymous machine ids, * and SDK metadata to AgentGuard endpoints. Prompts, completions, provider * keys, signing keys, and policy bodies are never sent. */ export type AgentGuardTier = 'free' | 'solo' | 'startup' | 'growth' | 'solo_pro' | 'startup_pro' | 'growth_pro'; export interface AgentGuardLicenseFeatures { postureSwitching: boolean; customWatchlists: boolean; outcomeBuilder: boolean; reviewerCascade: boolean; verticalSkillPackImport: boolean; auditRetentionDays: number; maxActiveSeats: number; inferenceManaged?: boolean; inferenceAllowanceUsd?: number; } export interface AgentGuardLicenseStatus { valid: boolean; tier: AgentGuardTier; seats: number; expiresAt: string | null; features: AgentGuardLicenseFeatures; } export interface LicenseClientOptions { endpointBaseUrl?: string; nowMs?: number; force?: boolean; home?: string; postJson?: (url: string, payload: Record) => Promise; } export declare class AgentGuardLicenseRequiredError extends Error { code: string; constructor(message: string); } export declare function agentguardHome(home?: string): string; export declare function configPath(home?: string): string; export declare function readConfiguredLicenseKey(home?: string): string | null; export declare function writeConfiguredLicenseKey(licenseKey: string, home?: string): void; export declare function clearConfiguredLicenseKey(home?: string): void; export declare function licenseKeyFingerprint(licenseKey: string): string; export declare function validateLicenseKey(licenseKey?: string | null, opts?: LicenseClientOptions): Promise; export declare function validateAndRegisterLicense(licenseKey?: string | null, opts?: LicenseClientOptions): Promise; export declare function processUuid(home?: string): string; export declare function anonymousMachineFingerprint(home?: string): string; //# sourceMappingURL=license.d.ts.map