import { default as React } from 'react';
import { Placement } from '@floating-ui/react';
type Extendable = Omit<React.ComponentPropsWithoutRef<"a">, "event" | "definition">;
interface Item extends Extendable {
    label: string;
    icon?: string;
    active?: boolean;
    onClick?: () => void;
}
export interface MenuProps extends React.ComponentPropsWithoutRef<"div"> {
    /** the children should simply be the item to activate, it's used as a wrapped and binds the action automatically */
    children?: React.ReactNode;
    /** the placement of the popup @default 'bottom' */
    placement?: Placement;
    /** the items for the menu to render */
    items: Item[];
    /** if the menu/button should be disabled */
    disabled?: boolean;
}
export declare function Menu({ children, placement, items, disabled, cssStyles, ...props }: MenuProps): import("@emotion/react/jsx-runtime").JSX.Element;
export {};
//# sourceMappingURL=index.d.ts.map