import { ReactElement, ReactNode } from 'react'; import { DOMRef, ItemProps } from '@react-types/shared'; import { BaseProps, ContainerStyleProps, Styles } from '../../../tasty'; import { MenuButtonProps, MenuSelectionType } from './MenuButton'; import type { AriaMenuProps } from '@react-types/menu'; export interface JengaMenuProps extends ContainerStyleProps, AriaMenuProps { selectionIcon?: MenuSelectionType; header?: ReactNode; footer?: ReactNode; styles?: Styles; itemStyles?: Styles; sectionStyles?: Styles; sectionHeadingStyles?: Styles; qa?: BaseProps['qa']; } declare type PartialMenuButton = Partial; declare type ItemComponent = (props: ItemProps & PartialMenuButton & { wrapper?: (item: ReactElement) => ReactElement; }) => JSX.Element; declare const Item: ItemComponent; declare const Section: (props: import("@react-types/shared").SectionProps) => JSX.Element; declare const __Menu: ((props: JengaMenuProps & { ref?: DOMRef | undefined; }) => ReactElement) & { Item: typeof Item; Section: typeof Section; } & { Item: ItemComponent; Section: (props: import("@react-types/shared").SectionProps) => JSX.Element; displayName: string; }; export { __Menu as Menu };