/**
* Syntax highlighting for log messages (React spans).
*
* Applies color highlighting to specific elements within log messages
* using React span elements with Tailwind CSS classes from a configurable
* syntax theme.
*
* IMPORTANT: Only highlights plain text - skips lines with existing ANSI codes
* to prevent mixing codes and creating visual artifacts.
*
* Features LRU cache to avoid re-parsing identical text.
*
* @module @mks2508/mks-ui/react/blocks/Terminal/components/SyntaxHighlight
*/
import { type SyntaxThemeOverrides } from './SyntaxHighlight.styles';
export { DEFAULT_SYNTAX_THEME, type SyntaxThemeOverrides, type SyntaxTokenType } from './SyntaxHighlight.styles';
/**
* Clear the highlight cache (useful for memory management).
*/
export declare function clearHighlightCache(): void;
/**
* Props for SyntaxHighlightedText component.
*/
export interface ISyntaxHighlightedTextProps {
/** Text to highlight */
text: string;
/** Optional syntax theme overrides */
syntaxTheme?: SyntaxThemeOverrides;
/** Optional custom class name */
className?: string;
}
/**
* Syntax highlighted text component.
*
* Applies syntax highlighting to plain text messages using a configurable
* theme. Strips ANSI codes before highlighting.
*
* @example
* ```tsx
* // Default theme
*
*
* // Custom theme overrides
*
* ```
*/
export declare function SyntaxHighlightedText({ text, syntaxTheme, className }: ISyntaxHighlightedTextProps): React.JSX.Element;
/**
* Props for HighlightedJson component.
*/
export interface IHighlightedJsonProps {
/** JSON object to highlight */
json: Record;
/** Optional syntax theme overrides */
syntaxTheme?: SyntaxThemeOverrides;
/** Optional custom class name */
className?: string;
}
/**
* Highlighted JSON component.
*
* Displays JSON with syntax highlighting and proper indentation.
* Uses the configurable syntax theme for all token colors.
*
* @example
* ```tsx
*
* ```
*/
export declare function HighlightedJson({ json, syntaxTheme, className }: IHighlightedJsonProps): React.JSX.Element;
//# sourceMappingURL=SyntaxHighlight.d.ts.map