1 | import type { MenuProps as MenuUiComponentProps } from '../ui/Menu';
|
2 | import type { UseMenuProps } from 'react-instantsearch-core';
|
3 | type UiProps = Pick<MenuUiComponentProps, 'items' | 'onRefine' | 'createURL' | 'canToggleShowMore' | 'onToggleShowMore' | 'isShowingMore' | 'translations'>;
|
4 | export type MenuProps = Omit<MenuUiComponentProps, keyof UiProps> & UseMenuProps & {
|
5 | translations?: Partial<UiProps['translations']>;
|
6 | };
|
7 | export declare function Menu({ attribute, limit, showMore, showMoreLimit, sortBy, transformItems, translations, ...props }: MenuProps): JSX.Element;
|
8 | export {};
|