1 | import React from 'react';
|
2 | import type { HierarchicalMenuProps as HierarchicalMenuUiComponentProps } from '../ui/HierarchicalMenu';
|
3 | import type { UseHierarchicalMenuProps } from 'react-instantsearch-core';
|
4 | type UiProps = Pick<HierarchicalMenuUiComponentProps, 'items' | 'createURL' | 'hasItems' | 'onNavigate' | 'canToggleShowMore' | 'onToggleShowMore' | 'isShowingMore' | 'translations'>;
|
5 | export type HierarchicalMenuProps = Omit<HierarchicalMenuUiComponentProps, keyof UiProps> & UseHierarchicalMenuProps & {
|
6 | translations?: Partial<UiProps['translations']>;
|
7 | };
|
8 | export declare function HierarchicalMenu({ attributes, limit, rootPath, separator, showMore, showMoreLimit, showParentLevel, sortBy, transformItems, translations, ...props }: HierarchicalMenuProps): React.JSX.Element;
|
9 | export {};
|