import type { ServiceRouter } from '../services/router.js'; export interface ServiceMatch { serviceId: string; name: string; type: 'docker' | 'k3s' | 'systemd'; server: string; status: 'running' | 'stopped'; confidence: number; } export interface ServiceParseResult { operation: 'restart' | 'stop' | 'start'; matches: ServiceMatch[]; recommended: ServiceMatch | null; byServer: Record; byType: Record; total: number; } export declare class ServiceIntentMatcher { private router; private static readonly OPERATION_KEYWORDS; constructor(router: ServiceRouter); private extractOperation; extractServiceName(service: string): string; match(service: string, operation: 'restart' | 'stop' | 'start'): Promise; parse(service: string, operation?: 'restart' | 'stop' | 'start'): Promise; private calculateConfidence; private groupByServer; private groupByType; }