/** * Description Analyzer * * Analyzes tool descriptions for behavioral keywords to infer expected behavior. * This provides a more robust inference than name-pattern matching alone. * * Part of Issue #57: Architecture detection and behavior inference modules */ import type { InferenceSignal } from "../../../../lib/assessment/extendedTypes.js"; /** * Keyword categories with confidence levels. * Keywords in 'high' have strong semantic association with the behavior. * Keywords in 'medium' are indicative but may have context-dependent meanings. * Keywords in 'low' are weak indicators. */ export declare const DESCRIPTION_BEHAVIOR_KEYWORDS: { readOnly: { high: string[]; medium: string[]; low: string[]; }; destructive: { high: string[]; medium: string[]; low: string[]; }; write: { high: string[]; medium: string[]; low: string[]; }; }; /** * Analyze a tool description for behavioral signals. * * @param description - Tool description to analyze * @returns InferenceSignal with read-only/destructive expectations */ export declare function analyzeDescription(description: string): InferenceSignal; /** * Quick check if description contains read-only indicators. * Useful for fast filtering before full analysis. * * @param description - Tool description to check * @returns True if any read-only keywords are present */ export declare function hasReadOnlyIndicators(description: string): boolean; /** * Quick check if description contains destructive indicators. * Useful for fast filtering before full analysis. * * @param description - Tool description to check * @returns True if any destructive keywords are present */ export declare function hasDestructiveIndicators(description: string): boolean; /** * Quick check if description contains write indicators. * Useful for fast filtering before full analysis. * * @param description - Tool description to check * @returns True if any write keywords are present */ export declare function hasWriteIndicators(description: string): boolean; //# sourceMappingURL=DescriptionAnalyzer.d.ts.map