export type HighlightFormatter = (text: string) => string; export type HighlightTheme = Partial>; export interface HighlightOptions { language?: string; ignoreIllegals?: boolean; languageSubset?: string[]; theme?: HighlightTheme; } /** * Highlight code with syntax colors. Returns ANSI-colored string. * If `language` is specified, uses that; otherwise auto-detects. */ export declare function highlight(code: string, options?: HighlightOptions): string; /** Check if a language is supported by highlight.js. */ export declare function supportsLanguage(name: string): boolean; //# sourceMappingURL=syntax-highlight.d.ts.map