/** * Minimal shared theme for syntax highlighting and extension API compatibility. * * This replaces the interactive/mode TUI theme system with a stripped-down * version that supports the core utilities used by the serve/relay path: * - getLanguageFromPath(): maps file extensions to highlight.js language IDs * - highlightCode(): syntax-highlights code blocks * - loadThemeFromPath(): loads a theme JSON file from disk * - Theme class: used by resource-loader and extension types * * All ANSI color formatting (theme.fg(), theme.bold(), etc.) is removed — * tool output is plain text for LLM consumption in serve/relay mode. */ export declare function getLanguageFromPath(filePath: string): string | undefined; export interface Theme { readonly name?: string; readonly sourcePath?: string; sourceInfo?: import("./source-info.js").SourceInfo; } /** * Highlight code with syntax coloring based on file extension or language. * In serve mode, returns plain text (no ANSI coloring for LLM consumption). */ export declare function highlightCode(code: string, lang?: string): string[]; export declare function loadThemeFromPath(themePath: string): Theme; export declare function setRegisteredThemes(themes: Theme[]): void; export declare function getAvailableThemes(): string[]; //# sourceMappingURL=theme.d.ts.map