import { default as React, AnchorHTMLAttributes, ButtonHTMLAttributes, MouseEventHandler } from 'react';
type NavItemProps = {
active?: boolean;
"aria-controls"?: string;
};
type NavItemLinkProps = Omit, "style" | "className"> & {
href: string;
} & NavItemProps;
type NavItemButtonProps = Omit, "style" | "className"> & {
onClick: MouseEventHandler;
} & NavItemProps;
/**
* A navigation item component to be used with a navigation bar.
* Will render an anchor when href is provided, otherwise a button element.
*/
export declare const NavItem: React.ForwardRefExoticComponent & React.RefAttributes>;
export {};
//# sourceMappingURL=NavItem.d.ts.map