import { type AnchorHTMLAttributes, type ReactElement } from 'react';
type SidebarGroupLinkBaseProps = {
active?: boolean;
className?: string;
text: string;
};
type SidebarGroupLinkAnchorProps = Omit, 'href'> & SidebarGroupLinkBaseProps & {
asChild?: false;
href: string;
};
type SidebarGroupLinkChildProps = SidebarGroupLinkBaseProps & {
asChild: true;
children: ReactElement;
href?: string;
};
type SidebarGroupLinkProps = SidebarGroupLinkAnchorProps | SidebarGroupLinkChildProps;
declare function SidebarGroupLink({ active, className, href, text, ...props }: SidebarGroupLinkProps): import("react/jsx-runtime").JSX.Element;
export default SidebarGroupLink;
export type { SidebarGroupLinkProps };