/** * Code block renderer with syntax highlighting * Uses highlight.js for language detection and highlighting */ import { Theme } from '../../../themes/Theme.interface.js'; export declare class CodeRenderer { private theme; constructor(theme: Theme); /** * Render a code block with syntax highlighting */ renderCodeBlock(code: string, language?: string): string; /** * Render inline code */ renderInlineCode(code: string): string; /** * Convert HTML entities and basic ANSI codes from highlight.js to plain text * For now we'll keep it simple and just show plain colored code */ private convertAnsiToChalk; /** * Detect if text contains a code block */ static hasCodeBlock(text: string): boolean; /** * Extract code blocks from markdown-style text */ static extractCodeBlocks(text: string): Array<{ language?: string; code: string; start: number; end: number; }>; } //# sourceMappingURL=CodeRenderer.d.ts.map