export interface ServiceInfo { id: string; name: string; type: 'docker' | 'k3s' | 'systemd'; server: string; status: 'running' | 'stopped' | 'unknown'; metadata?: Record; } export interface ServiceStatus { serviceId: string; status: 'running' | 'stopped' | 'unknown'; uptime?: string; image?: string; restartCount?: number; resources?: { cpuPercent?: number; memoryUsed?: string; memoryPercent?: number; }; } export interface OperationResult { success: boolean; operation: string; serviceId: string; message?: string; error?: string; } export interface LogOptions { tail?: number; follow?: boolean; } export interface ServiceFilters { status?: 'running' | 'stopped'; server?: string; } export interface ServiceManager { find(name: string): Promise; list(filters?: ServiceFilters): Promise; status(serviceId: string): Promise; restart(serviceId: string): Promise; stop(serviceId: string): Promise; start(serviceId: string): Promise; logs(serviceId: string, options?: LogOptions): Promise; }