/** Detected service-control intent. */ export type ServiceIntent = 'restart' | 'stop' | 'status'; export interface DetectionResult { intent: ServiceIntent; confidence: number; matchedPattern: string; } /** * Detect service-control intent from a user message. * * Returns `null` when no pattern matched (caller should route to agent * normally). Matches are anchored to short messages — long-form prompts * deliberately fall through to avoid false-positives like "我需要写个 * 重启服务的脚本". */ export declare function detectServiceIntent(text: string): DetectionResult | null; //# sourceMappingURL=service-intent.d.ts.map