import type { Hit } from '../types'; export type ReverseHighlightOptions = { attribute: string | string[]; highlightedTagName?: string; hit: Partial; cssClasses?: Partial<{ highlighted: string; }>; }; /** * @deprecated use html tagged templates and the ReverseHighlight component instead */ export default function reverseHighlight({ attribute, highlightedTagName, hit, cssClasses, }: ReverseHighlightOptions): string;