import React from "react";
interface DropdownMenuItemBase {
    label: string;
    link?: string;
    onClick?: (...args: any[]) => void;
    icon?: JSX.Element;
}
type DropdownMenuItem = (DropdownMenuItemBase & {
    link: string;
    onClick?: never;
}) | (DropdownMenuItemBase & {
    link?: never;
    onClick: (...args: any[]) => void;
});
type position = "bottom-left" | "bottom-center" | "bottom-right" | "right-bottom" | "right-center";
type Props = React.ButtonHTMLAttributes<HTMLButtonElement> & React.AnchorHTMLAttributes<HTMLAnchorElement> & {
    className?: string;
    items: DropdownMenuItem[];
    onHoverComponent: JSX.Element;
    children: JSX.Element;
    position?: position;
    trigger?: "hover" | "click";
};
declare const DropdownMenu: {
    ({ items, children, onHoverComponent, className, position, trigger }: Props): React.JSX.Element;
    displayName: string;
};
export default DropdownMenu;
