UNPKG

svelte-algolia-instantsearch

Version:
66 lines (65 loc) 2.33 kB
import { SvelteComponentTyped } from "svelte"; import { type ShowMoreButtonTranslations } from "../components/ShowMoreButton.svelte"; declare const __propDef: { props: { attribute: string; limit?: number | undefined; showMore?: boolean | undefined; showMoreLimit?: number | undefined; sortBy?: import("instantsearch.js").SortBy<import("algoliasearch-helper").SearchResults.HierarchicalFacet> | undefined; transformItems?: import("instantsearch.js").TransformItems<import("instantsearch.js/es/connectors/menu/connectMenu").MenuItem> | undefined; 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 item element */ item: string; /** * Class names to apply to each selected item element */ selectedItem: string; /** * Class names to apply to each link element */ link: string; /** * Class names to apply to each label element */ label: string; /** * Class names to apply to each facet count 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; }> | undefined; translations?: Partial<ShowMoreButtonTranslations> | undefined; }; events: { [evt: string]: CustomEvent<any>; }; slots: {}; }; export type MenuProps = typeof __propDef.props; export type MenuEvents = typeof __propDef.events; export type MenuSlots = typeof __propDef.slots; export default class Menu extends SvelteComponentTyped<MenuProps, MenuEvents, MenuSlots> { } export {};