UNPKG

@riadvargas/svelte-algolia-instantsearch

Version:
28 lines (27 loc) 1.13 kB
import type { BaseHit, Hit } from "instantsearch.js"; import { type HighlightClassNames } from "../components/InternalHighlight.svelte"; interface $$__sveltets_2_IsomorphicComponent<Props extends Record<string, any> = any, Events extends Record<string, any> = any, Slots extends Record<string, any> = any, Exports = {}, Bindings = string> { new (options: import('svelte').ComponentConstructorOptions<Props>): import('svelte').SvelteComponent<Props, Events, Slots> & { $$bindings?: Bindings; } & Exports; (internal: unknown, props: Props & { $$events?: Events; $$slots?: Slots; }): Exports & { $set?: any; $on?: any; }; z_$$bindings?: Bindings; } declare const Snippet: $$__sveltets_2_IsomorphicComponent<{ classes?: Partial<HighlightClassNames>; attribute: string; hit: Hit<BaseHit>; highlightedTagName?: keyof HTMLElementTagNameMap; nonHighlightedTagName?: keyof HTMLElementTagNameMap; separator?: string; }, { [evt: string]: CustomEvent<any>; }, {}, {}, string>; type Snippet = InstanceType<typeof Snippet>; export default Snippet;