/** * Handles markdown and HTML content processing, formatting, and hyperlink generation */ export declare class ContentProcessor { private projectPath; private repoUrl; constructor(projectPath: string, repoUrl: string | null); /** * Format inline markdown (bold, italic, code) */ formatInlineMarkdown(text: string): string; /** * Convert markdown to HTML with file path highlighting and hyperlinks */ formatMarkdown(content: string): string; /** * Highlights prefixes in headings that contain colons * Matches everything up to and including the first colon in h3-h6 headings only * Excludes h1 and h2 tags to avoid affecting quest titles */ private highlightFilePathPrefixes; /** * Strip HTML tags from content */ stripHTML(html: string): string; /** * Converts file paths and function names in HTML content to GitHub URLs * Handles file paths within code tags and plain text * Detects function names and links to specific line numbers in GitHub */ private addFileHyperlinksToHTML; /** * Builds a map of function names to their file paths and line numbers * Scans source files to find function definitions */ private buildFunctionLineMap; /** * Scans a single file for function definitions and adds them to the map */ private scanFileForFunctions; } //# sourceMappingURL=content-processor.d.ts.map