import { FC } from 'react'; import { ComponentWithAs as _ComponentWithAs, MenuDividerProps as _MenuDividerProps, MenuItemProps as _MenuItemProps, MenuListProps as _MenuListProps, MenuProps as ChakraMenuProps, ThemingProps } from '@chakra-ui/react'; import { ButtonProps } from '../Button'; export interface MenuButtonProps extends Omit { variant?: ThemingProps<'Menu'>['variant']; isStretch?: boolean; isOpen?: boolean; chevronSize?: string; } interface MenuProps extends ChakraMenuProps { /** If true, menu list will match width of menu. Alias of `matchWidth=true` */ isStretch?: boolean; } /** * Used to wrap MenuButton, MenuItem and MenuList components */ export declare const Menu: { ({ isStretch, ...props }: MenuProps): JSX.Element; Button: FC; List: _ComponentWithAs<"div", _MenuListProps>; Item: _ComponentWithAs<"button", _MenuItemProps>; Divider: FC<_MenuDividerProps>; }; export {};