/** * @license * Copyright 2025 OSAgent OC * SPDX-License-Identifier: Apache-2.0 */ import type { SkillDetectionResult } from './types.js'; import type { AgentRegistry } from './agent-registry.js'; /** * Skill Detector - analyzes prompts to detect required skills and suggest agents */ export declare class SkillDetector { private agentRegistry; private autoDispatchThreshold; constructor(agentRegistry: AgentRegistry, autoDispatchThreshold?: number); /** * Detect skills required for a prompt */ detect(prompt: string): SkillDetectionResult; /** * Detect individual skills from prompt */ private detectSkills; /** * Detect task complexity */ private detectComplexity; /** * Generate human-readable reasoning for the detection */ private generateReasoning; /** * Set auto-dispatch threshold */ setAutoDispatchThreshold(threshold: number): void; }