import { Chunk } from './Highlight.utils'; export interface HighlightProps { activeClassName?: string; activeIndex?: number; activeStyle?: React.CSSProperties; autoEscape?: boolean; className?: string; findChunks?: (params: any) => Chunk[]; highlightClassName?: string | Record; highlightStyle?: React.CSSProperties; highlightTag?: keyof JSX.IntrinsicElements | React.ComponentType; sanitize?: (text: string) => string; searchWords: (string | RegExp)[]; textToHighlight: string; unhighlightTag?: keyof JSX.IntrinsicElements | React.ComponentType; unhighlightClassName?: string; unhighlightStyle?: React.CSSProperties; [key: string]: any; }