import * as React from 'react';
import * as Menu from './Menu';
type SimpleMenuProps = Menu.TriggerProps & Pick
& {
children?: React.ReactNode;
onOpen?: () => void;
onClose?: () => void;
/**
* Callback function to be called when the popover reaches the end of the scrollable content
*/
onReachEnd?: (entry: IntersectionObserverEntry) => void;
};
declare const SimpleMenu: React.ForwardRefExoticComponent<(Omit & {
endIcon?: React.ReactNode;
label?: React.ReactNode;
} & {
tag?: ( = "button">(props: React.PropsWithoutRef> & React.RefAttributes) => React.ReactNode) | undefined;
icon?: React.ReactNode;
} & Pick & {
children?: React.ReactNode;
onOpen?: (() => void) | undefined;
onClose?: (() => void) | undefined;
/**
* Callback function to be called when the popover reaches the end of the scrollable content
*/
onReachEnd?: ((entry: IntersectionObserverEntry) => void) | undefined;
}, "ref"> | Omit & {
endIcon?: React.ReactNode;
label?: React.ReactNode;
} & {
tag: = "button">(props: React.PropsWithoutRef> & React.RefAttributes) => React.ReactNode;
icon: React.ReactNode;
} & Pick & {
children?: React.ReactNode;
onOpen?: (() => void) | undefined;
onClose?: (() => void) | undefined;
/**
* Callback function to be called when the popover reaches the end of the scrollable content
*/
onReachEnd?: ((entry: IntersectionObserverEntry) => void) | undefined;
}, "ref">) & React.RefAttributes>;
declare const MenuItem: ({ onSelect, disabled, isLink, startIcon, endIcon, isExternal, ...props }: Menu.ItemProps<(props: Omit, "ref"> & React.RefAttributes) => React.ReactNode>) => import("react/jsx-runtime").JSX.Element;
type MenuItemProps = Menu.ItemProps;
export { SimpleMenu, MenuItem, Menu };
export type { SimpleMenuProps, MenuItemProps };
//# sourceMappingURL=SimpleMenu.d.ts.map