1 | import type { PartialKeys } from '../types';
|
2 | import type { HighlightProps as HighlightUiComponentProps } from '../ui/Highlight';
|
3 | import type { BaseHit, Hit } from 'instantsearch.js';
|
4 | export type HighlightProps<THit extends Hit<BaseHit>> = {
|
5 | hit: THit;
|
6 | attribute: keyof THit | string[];
|
7 | } & PartialKeys<Omit<HighlightUiComponentProps, 'parts'>, 'highlightedTagName' | 'nonHighlightedTagName' | 'separator'>;
|
8 | export declare function Highlight<THit extends Hit<BaseHit>>({ hit, attribute, highlightedTagName, nonHighlightedTagName, separator, ...props }: HighlightProps<THit>): JSX.Element;
|