1 | import type { RefinementListProps as RefinementListUiComponentProps } from '../ui/RefinementList';
|
2 | import type { SearchBoxTranslations } from '../ui/SearchBox';
|
3 | import type { RefinementListWidgetParams } from 'instantsearch.js/es/widgets/refinement-list/refinement-list';
|
4 | import type { UseRefinementListProps } from 'react-instantsearch-core';
|
5 | type UiProps = Pick<RefinementListUiComponentProps, 'canRefine' | 'items' | 'onRefine' | 'query' | 'searchBox' | 'noResults' | 'canToggleShowMore' | 'onToggleShowMore' | 'isShowingMore' | 'translations'>;
|
6 | export type RefinementListProps = Omit<RefinementListUiComponentProps, keyof UiProps> & UseRefinementListProps & Pick<RefinementListWidgetParams, 'searchable' | 'searchablePlaceholder'> & {
|
7 | translations?: Partial<UiProps['translations'] & SearchBoxTranslations & {
|
8 | |
9 |
|
10 |
|
11 | noResultsText: string;
|
12 | }>;
|
13 | };
|
14 | export declare function RefinementList({ searchable, searchablePlaceholder, attribute, operator, limit, showMore, showMoreLimit, sortBy, escapeFacetValues, transformItems, translations, ...props }: RefinementListProps): JSX.Element;
|
15 | export {};
|