UNPKG

@riadvargas/svelte-algolia-instantsearch

Version:
59 lines (58 loc) 2.09 kB
import type { CurrentRefinementsConnectorParams } from "instantsearch.js/es/connectors/current-refinements/connectCurrentRefinements"; 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 CurrentRefinements: $$__sveltets_2_IsomorphicComponent<CurrentRefinementsConnectorParams & { classes?: Partial<{ /** * Class names to apply to the root element */ root: string; /** * Class names to apply to the root element when there are no refinements possible */ noRefinementRoot: string; /** * Class names to apply to the list element */ list: string; /** * Class names to apply to the list element when there are no refinements possible */ noRefinementList: string; /** * Class names to apply to each refinement */ item: string; /** * Class names to apply to the label of each refinement */ label: string; /** * Class names to apply to the container of each refinement's value */ category: string; /** * Class names to apply to the text element of each refinement's value */ categoryLabel: string; /** * Class names to apply to the each refinement's delete button */ delete: string; }>; }, { [evt: string]: CustomEvent<any>; }, {}, {}, string>; type CurrentRefinements = InstanceType<typeof CurrentRefinements>; export default CurrentRefinements;