/** * CLI Instance Entity * Represents a single CLI installation on a specific computer */ export declare class CliInstanceEntity { readonly id: string; readonly instanceName: string; readonly hostname: string; readonly platform: 'win32' | 'darwin' | 'linux'; readonly platformVersion: string; readonly nodeVersion: string; readonly appVersion: string; readonly downloadDefaultPath: string; readonly downloadFallbackPath: string | null; readonly status: 'active' | 'inactive' | 'maintenance'; readonly lastHeartbeatAt: Date | null; readonly lastJobAt: Date | null; readonly totalJobsProcessed: number; readonly totalJobsFailed: number; readonly totalBytesDownloaded: number; readonly createdAt: Date; readonly updatedAt: Date; constructor(id: string, instanceName: string, hostname: string, platform: 'win32' | 'darwin' | 'linux', platformVersion: string, nodeVersion: string, appVersion: string, downloadDefaultPath: string, downloadFallbackPath: string | null, status: 'active' | 'inactive' | 'maintenance', lastHeartbeatAt: Date | null, lastJobAt: Date | null, totalJobsProcessed: number, totalJobsFailed: number, totalBytesDownloaded: number, createdAt: Date, updatedAt: Date); /** * Create instance info from current system */ static createFromSystem(instanceName: string, downloadDefaultPath: string, downloadFallbackPath?: string | null, appVersion?: string): { instanceName: string; hostname: string; platform: 'win32' | 'darwin' | 'linux'; platformVersion: string; nodeVersion: string; appVersion: string; downloadDefaultPath: string; downloadFallbackPath: string | null; status: 'active' | 'inactive' | 'maintenance'; }; /** * Check if instance is healthy (heartbeat within last 5 minutes) */ isHealthy(): boolean; /** * Get failure rate percentage */ getFailureRate(): number; /** * Get success rate percentage */ getSuccessRate(): number; /** * Get formatted download size */ getFormattedDownloadSize(): string; } //# sourceMappingURL=cli-instance.entity.d.ts.map