/** Markdown extractors for plan.md and context.md files. Uses AST parsing with LRU caching. */ import type { Root } from 'mdast'; /** * Parse markdown content with LRU caching. * Cache entries expire after 5 minutes and are evicted based on entry count and size limits. */ export declare function parseMarkdownWithCache(content: string): Root; /** * Reset the markdown cache and cache stats. * Useful for testing. */ export declare function resetMarkdownCache(): void; /** * Extracts the current phase information from plan content. */ export declare function extractCurrentPhase(planContent: string): string | null; /** * Extracts incomplete tasks (phases) from plan content. */ export declare function extractIncompleteTasks(planContent: string, maxChars?: number): string | null; /** * Extracts patterns section from context content. */ export declare function extractPatterns(contextContent: string, maxChars?: number): string | null; /** * Extracts decisions section from context content. */ export declare function extractDecisions(contextContent: string, maxChars?: number): string | null;