/**
 * @author Hanz
 * @date 2022/5/27 上午10:30
 * @description dropdown
 */
import React, { FC } from 'react';
import './index.scss';
export type Placement = "top" | "topLeft" | "topRight" | "bottom" | "bottomLeft" | "bottomRight";
export interface DropdownProps {
    /** 触发下拉的行为 */
    trigger?: ('click' | 'hover' | 'contextMenu')[];
    /** 菜单 */
    overlay?: React.ReactElement | (() => React.ReactElement);
    /** 菜单切换时回调 */
    onVisibleChange?: (visible: boolean) => void;
    /** 菜单是否显示 */
    visible?: boolean;
    /** 关闭时是否销毁Dropdown */
    destroyPopupOnHide?: boolean;
    /** 浮层渲染容器，默认body */
    getPopupContainer?: (triggerNode: HTMLElement) => HTMLElement;
    /** 菜单弹出位置 */
    placement?: Placement;
    /** 菜单classname */
    overlayClassName?: string;
    /** 菜单style */
    overlayStyle?: React.CSSProperties;
    /** 强制渲染 */
    forceRender?: boolean;
    /** 鼠标进入延迟时间 */
    mouseEnterDelay?: number;
    /** 鼠标移出延迟时间 */
    mouseLeaveDelay?: number;
    /** 子节点 */
    children: React.ReactElement;
    /** 关闭时是否把弹框定位至屏幕之外，隔离dom污染，默认false */
    isolationPopupOnHide?: boolean;
}
export declare const Dropdown: FC<DropdownProps>;
export default Dropdown;
