import * as React from 'react'; export type HighlighterEmphasize = 'text' | 'background'; export interface HighlighterProps { /** Applied as data-hook HTML attribute that can be used in the tests. */ dataHook?: string; /** Sets the text to highlight in `children`. */ match?: string; /** Sets the content to search for `match` in. The element structure is preserved, and each match is wrapped for highlighting. */ children?: React.ReactNode; /** Controls how matches are highlighted. `'text'` renders them in bold and `'background'` applies a background color. * @default 'text' */ emphasize?: HighlighterEmphasize; /** Specifies whether the match is case sensitive. * @default false */ caseSensitive?: boolean; } export interface HighlightedItemProps { /** Applied as data-hook HTML attribute that can be used in the tests. */ dataHook?: string; /** Sets the text to highlight in `children`. */ match?: string; /** Sets the content to search for `match` in. The element structure is preserved, and each match is wrapped for highlighting. */ children?: React.ReactNode; /** Controls how matches are highlighted. `'text'` renders them in bold and `'background'` applies a background color. * @default 'text' */ emphasize?: HighlighterEmphasize; /** Specifies whether matching is case sensitive. * @default false */ caseSensitive?: boolean; } //# sourceMappingURL=Highlighter.types.d.ts.map