import React from 'react'; import { type FlexAllProps, type FlexComponentProps } from 'reflexy/styled'; import type { IconComponentProps } from '../theme'; import { type MenuListItemProps } from './MenuListItem'; export type MenuItem = Omit, 'onClick'> & React.Attributes; export interface MenuListProps extends FlexComponentProps<'div'> { header?: React.ReactNode | undefined; headerIcon?: HI | undefined; headerAction?: string | React.ReactElement | undefined; itemComponent?: React.FC>; items?: MenuItem[] | undefined; headerProps?: FlexAllProps, HTMLDivElement>>> | undefined; headerGroupProps?: FlexAllProps<'div'> | undefined; listProps?: FlexAllProps, HTMLDivElement>>> | undefined; onItemSelect?: MenuListItemProps['onItemSelect'] | undefined; onItemMouseEnter?: ((value: MenuListItemProps['itemValue'], event: React.MouseEvent) => void) | undefined; onItemMouseLeave?: ((value: MenuListItemProps['itemValue'], event: React.MouseEvent) => void) | undefined; onItemFocus?: ((value: MenuListItemProps['itemValue'], event: React.FocusEvent) => void) | undefined; onItemBlur?: ((value: MenuListItemProps['itemValue'], event: React.FocusEvent) => void) | undefined; onItemProps?: ((itemProps: MenuItem) => MenuItem) | undefined; onClose?: VoidFunction | undefined; onBack?: VoidFunction | undefined; onHeaderAction?: VoidFunction | undefined; } export declare const DefaultHeaderAction: import("@emotion/styled").StyledComponent & Omit, keyof import("reflexy/styled").Styleable> & { component?: "button" | undefined; } & import("../Button").ButtonStyleProps & Pick, "sx"> & import("@mui/system").MUIStyledCommonProps, {}, {}>; export default function MenuList({ header, headerIcon, onBack, onClose, itemComponent: ItemComponent, items, headerProps, headerGroupProps, listProps, onItemSelect, onItemMouseEnter, onItemMouseLeave, onItemFocus, onItemBlur, onItemProps, headerAction, onHeaderAction, children, onKeyDown, ...rest }: MenuListProps): React.JSX.Element;