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