import * as React from 'react';
import { ObjectInterface } from '../_utils/interfaces';
import { MenuClickEventHandler } from '../menu';
import { DropdownProps } from './Dropdown';
import './style/dropmenu.css';
export interface MenuItemProps extends ObjectInterface {
    type?: 'group' | 'subMenu';
    key: string;
    title: string;
    icon?: string;
    disabled?: boolean;
    children?: MenuItemProps[];
    divider?: boolean;
    danger?: boolean;
}
export interface DropmenuProps extends Omit<DropdownProps, 'children' | 'onVisibleChange'> {
    /** 菜单 */
    menus?: MenuItemProps[];
    /** 确认值 */
    values?: string[];
    /** 默认确认值 */
    defaultValues?: string[];
    /** 点击菜单列表回调 */
    onClickMenuItem?: MenuClickEventHandler;
    /** 点击菜单回调 */
    onClickMenu?: MenuClickEventHandler;
    /** 内容类名 */
    overlayClassName?: string;
    /** 气泡类名 */
    popupClassName?: string;
    /** 将宽度调整为其父宽度的选项 */
    block?: boolean;
    /** 图标展示 */
    icon?: string;
    /** 类名 */
    className?: string;
    /** 图标类型 */
    iconType?: 'border' | 'only-icon';
    /** 菜单类型 */
    type?: 'menu-bg' | 'assist-bg';
    /** 尺寸 */
    size?: 'compact';
    /** 只显示文字 */
    onlyText?: boolean;
    /** 禁用状态 */
    disabled?: boolean;
    /** 不显示icon, 设置false */
    dropIcon?: string | boolean;
    /** 自定义菜单的渲染 */
    renderDropNode?: (actived: boolean) => React.ReactElement;
    /** 自定义内容渲染 */
    renderOverlay?: () => React.ReactElement;
    /** 显示隐藏回调 */
    onVisibleChange?: (visible: boolean, dropKey?: string) => void;
    /** 用来标记key */
    dropKey?: string;
    /** 菜单边框隐藏 */
    dropNoBorder?: boolean;
    /** 不需要菜单记录select */
    noSelected?: boolean;
}
declare const Dropmenu: React.FC<DropmenuProps>;
export default Dropmenu;
declare const DropmenuMemo: React.NamedExoticComponent<DropmenuProps>;
export { DropmenuMemo };
