import React from 'react'; import { ElementType } from 'react'; import { IconProp } from '../icons'; import { Link } from 'react-router-dom'; declare type ButtonProps = { as?: ElementType; children?: React.ReactNode; }; declare function DropMenuButton({ children, as }: ButtonProps): JSX.Element; declare type ItemProps = { icon?: IconProp; children: React.ReactNode; onClick?: React.MouseEventHandler; loading?: boolean; } & Partial>; declare function DropMenuItem({ icon, children, to, href, loading, onClick, ...props }: ItemProps): JSX.Element; export declare const DropMenu: typeof DropMenuRoot & { Button: typeof DropMenuButton; Item: typeof DropMenuItem; }; declare type DropMenuProps = React.DetailedHTMLProps, HTMLDivElement> & { 'no-button'?: boolean; open?: boolean; unmount?: boolean; 'full-width'?: boolean; }; export declare function DropMenuRoot({ children, unmount, className, ...props }: DropMenuProps): JSX.Element; export {};