import * as React from 'react'; import { MenuProps } from './Menu.types'; /** * Temporary mapping from density to size for backward compatibility. */ export declare const menuSizeMapping: Record, MenuProps['size']>; /** * Resolve size prop considering backward compatibility with density prop. * Priority rules: * - If size is provided, use it. * - If size is not provided but density is, map density to size. * - If neither is provided, default to 'medium'. */ export declare const resolveMenuSize: (props: Pick) => MenuProps["size"]; export declare const Menu: React.ForwardRefExoticComponent & React.RefAttributes>;