svelte-meilisearch-instantsearch
Version:
Svelte wrapper for Meilisearch InstantSearch
24 lines (23 loc) • 879 B
TypeScript
import { SvelteComponentTyped } from "svelte";
import type { BaseHit, Hit } from "instantsearch.js";
import { type HighlightClassNames } from "../components/InternalHighlight.svelte";
declare const __propDef: {
props: {
classes?: Partial<HighlightClassNames> | undefined;
attribute: string;
hit: Hit<BaseHit>;
highlightedTagName?: keyof HTMLElementTagNameMap | undefined;
nonHighlightedTagName?: keyof HTMLElementTagNameMap | undefined;
separator?: string | undefined;
};
events: {
[evt: string]: CustomEvent<any>;
};
slots: {};
};
export type SnippetProps = typeof __propDef.props;
export type SnippetEvents = typeof __propDef.events;
export type SnippetSlots = typeof __propDef.slots;
export default class Snippet extends SvelteComponentTyped<SnippetProps, SnippetEvents, SnippetSlots> {
}
export {};