import { type AnchorHTMLAttributes, type ComponentType, type ReactElement, type SVGProps } from 'react';
type SidebarIcon = ComponentType>;
type SidebarLinkBaseProps = {
active?: boolean;
className?: string;
icon: SidebarIcon;
text: string;
};
type SidebarLinkAnchorProps = Omit, 'href'> & SidebarLinkBaseProps & {
asChild?: false;
href: string;
};
type SidebarLinkChildProps = SidebarLinkBaseProps & {
asChild: true;
children: ReactElement;
href?: string;
};
type SidebarLinkProps = SidebarLinkAnchorProps | SidebarLinkChildProps;
declare function SidebarLink({ active, className, href, icon, text, ...props }: SidebarLinkProps): import("react/jsx-runtime").JSX.Element;
export default SidebarLink;
export type { SidebarLinkProps };