import { PopoverProps as AriaPopoverProps } from 'react-aria-components';
import { Dispatch, Key, SetStateAction, ReactNode } from 'react';
export type ContextMenuAnimationState = 'unmounted' | 'hidden' | 'visible';
interface PopoverProps extends Omit<AriaPopoverProps, 'children'> {
    animation: ContextMenuAnimationState;
    children: ReactNode;
    onAction?: (key: Key) => void;
    setAnimation: Dispatch<SetStateAction<ContextMenuAnimationState>>;
    key?: Key | null;
}
export declare function ContextMenu({ children, key, onAction, setAnimation, animation, ...props }: PopoverProps): import("react/jsx-runtime").JSX.Element;
export declare namespace ContextMenu {
    var defaultProps: {
        key: undefined;
        onAction: undefined;
    };
}
export default ContextMenu;
