/** * Prompt Enhancer for MAMA OS Standalone * * Provides keyword detection, AGENTS.md discovery, and rules injection * as native built-in features. Ported from claude-code-plugin hooks. */ import type { RuleContext } from './yaml-frontmatter.js'; export interface EnhancedPromptContext { keywordInstructions: string; agentsContent: string; rulesContent: string; skillContent?: string; } export declare class PromptEnhancer { private fileCache; private readonly cacheTTL; detectKeywords(userMessage: string): string; discoverAgentsMd(workspacePath: string): Promise; discoverRules(workspacePath: string, ruleContext?: RuleContext): Promise; enhance(userMessage: string, workspacePath: string, ruleContext?: RuleContext): Promise; /** * Detect if user message matches an installed skill by keywords. * Returns full skill content for per-message injection, or null if no match. */ detectSkillMatch(userMessage: string): Promise; private _parseSkillFrontmatter; private _findMainSkillFile; private _loadDirSkillContent; private findProjectRoot; private getCachedFile; private collectRulesFromDir; } //# sourceMappingURL=prompt-enhancer.d.ts.map