import { CSSProperties, ReactNode, Component, ForwardRefExoticComponent, RefAttributes } from 'react'; import { MenuItemProps } from './MenuItem.js'; import { SubMenuProps } from './SubMenu.js'; type Mode = 'horizontal' | 'vertical'; type SelectedType = number | string; interface MenuProps { defaultSelected?: SelectedType[]; mode?: Mode; style?: CSSProperties; className?: string; children?: ReactNode; collapsed?: boolean; } declare class KMenu extends Component { static Item: ForwardRefExoticComponent>; static SubMenu: ForwardRefExoticComponent>; menu: HTMLUListElement | null; render(): JSX.Element; } export { MenuProps, KMenu as default };