import type { MouseEventHandler, ReactNode } from 'react';
export interface BaseNavLinkProps {
    icon?: ReactNode;
    children: ReactNode;
    onClick?: MouseEventHandler;
}
export interface NavExternalLinkProps extends BaseNavLinkProps {
    href: string;
}
export interface NavInternalLinkProps extends BaseNavLinkProps {
    to: string;
}
export type NavLinkProps = NavExternalLinkProps | NavInternalLinkProps;
declare const NavLink: ({ icon, children, onClick, ...otherProps }: NavLinkProps) => JSX.Element;
export default NavLink;
