import type { CognitiveAutoTrigger } from "../types.js"; import type { DiagnosticResult } from "./skills/diagnostic.js"; import type { EducationalResult } from "./skills/educational.js"; import type { DecisionSupportResult } from "./skills/decision_support.js"; export type SkillType = "diagnostic" | "educational" | "decision-support"; export interface CognitiveRequest { skillType: SkillType; ruleId: string; projectDir?: string; codePattern?: string; contextDescription?: string; topic?: string; experienceLevel?: "beginner" | "intermediate" | "advanced"; currentMedium?: string; candidateMedia?: string[]; projectPhase?: string; teamSize?: string; techStack?: string[]; } export type CognitiveResponse = DiagnosticResult | EducationalResult | DecisionSupportResult; export declare function processCognitiveRequest(input: CognitiveRequest): CognitiveResponse; export interface TriggerEntry { ruleId: string; timestamp: string; } /** * Detect repeated error patterns: if the same ruleId appears >= 2 times * in the last 3 entries, return an educational CognitiveRequest. * Returns null when no auto-trigger is needed. */ export declare function shouldAutoTrigger(history: TriggerEntry[]): CognitiveAutoTrigger | null; //# sourceMappingURL=orchestrator.d.ts.map