UNPKG

@riadvargas/svelte-algolia-instantsearch

Version:
77 lines (76 loc) 2.6 kB
import { type ShowMoreButtonTranslations } from "../components/ShowMoreButton.svelte"; import type { HierarchicalMenuConnectorParams } from "instantsearch.js/es/connectors/hierarchical-menu/connectHierarchicalMenu"; 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 HierarchicalMenu: $$__sveltets_2_IsomorphicComponent<HierarchicalMenuConnectorParams & { 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 each child list element */ childList: string; /** * Class names to apply to each item element */ item: string; /** * Class names to apply to the selected item */ selectedItem: string; /** * Class names to apply to the parent item of the list */ parentItem: string; /** * Class names to apply to each link element */ link: string; /** * Class names to apply to the link of each selected item */ selectedItemLink: string; /** * Class names to apply to the label of an item element */ label: string; /** * Class names to apply to the count of an item element */ count: string; /** * Class names to apply to the "Show more" button */ showMore: string; /** * Class names to apply to the "Show more" button if it's disabled */ disabledShowMore: string; }>; translations?: Partial<ShowMoreButtonTranslations>; }, { [evt: string]: CustomEvent<any>; }, {}, {}, string>; type HierarchicalMenu = InstanceType<typeof HierarchicalMenu>; export default HierarchicalMenu;