import * as react_jsx_runtime from 'react/jsx-runtime';
import { PropsWithChildren, RefObject, ReactNode } from 'react';
import { PropsWithBagFunctionOrChildren } from '../../util/PropsWithFunctionChildren.js';

type MenuItemProps = {
    onClick?: () => void;
    alignment?: 'left' | 'right';
    isDisabled?: boolean;
    className?: string;
};
declare const MenuItem: ({ children, onClick, alignment, isDisabled, className }: PropsWithChildren<MenuItemProps>) => react_jsx_runtime.JSX.Element;
type MenuBag = {
    isOpen: boolean;
    close: () => void;
};
type MenuProps<T> = PropsWithBagFunctionOrChildren<MenuBag> & {
    trigger: (onClick: () => void, ref: RefObject<T>) => ReactNode;
    /**
     * @default 'tl'
     */
    alignment?: 'tl' | 'tr' | 'bl' | 'br' | '_l' | '_r' | 't_' | 'b_';
    showOnHover?: boolean;
    menuClassName?: string;
};
/**
 * A Menu Component to allow the user to see different functions
 */
declare const Menu: <T extends HTMLElement>({ trigger, children, alignment, showOnHover, menuClassName, }: MenuProps<T>) => react_jsx_runtime.JSX.Element;

export { Menu, MenuItem, type MenuItemProps, type MenuProps };
