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