import { ComponentPropsWithoutRef, KeyboardEvent, MouseEvent } from 'react'; /** * Props for the SideNavLink component * @extends Omit, "id" | "onClick" | "onKeyDown" | "onKeyUp"> */ export type SideNavLinkProps = Omit, "id" | "onClick" | "onKeyDown" | "onKeyUp"> & { /** * Unique identifier for the navigation link */ id: string; /** * When true, marks the link as the current active page */ active?: boolean; /** * When true, disables the link and prevents interaction */ disabled?: boolean; /** * Function called when the link is clicked */ onClick?: (e: MouseEvent, id: SideNavLinkProps["id"]) => void; /** * Function called when a key is pressed down on the link */ onKeyDown?: (e: KeyboardEvent, id: SideNavLinkProps["id"]) => void; /** * Function called when a key is released on the link */ onKeyUp?: (e: KeyboardEvent, id: SideNavLinkProps["id"]) => void; }; /** * SideNavLink component for individual navigation links within a SideNav. * * Features: * - Individual navigation links with active state support * - Keyboard navigation integration with arrow keys * - Focus management and tabindex handling * - Accessible with proper ARIA attributes * - Click and keyboard event handling * - Disabled state support * - Automatic active state tracking through context * * @example * * Introduction * */ export declare const SideNavLink: import('react').ForwardRefExoticComponent, HTMLAnchorElement>, "ref">, "id" | "onKeyDown" | "onKeyUp" | "onClick"> & { /** * Unique identifier for the navigation link */ id: string; /** * When true, marks the link as the current active page */ active?: boolean; /** * When true, disables the link and prevents interaction */ disabled?: boolean; /** * Function called when the link is clicked */ onClick?: (e: MouseEvent, id: SideNavLinkProps["id"]) => void; /** * Function called when a key is pressed down on the link */ onKeyDown?: (e: KeyboardEvent, id: SideNavLinkProps["id"]) => void; /** * Function called when a key is released on the link */ onKeyUp?: (e: KeyboardEvent, id: SideNavLinkProps["id"]) => void; } & import('react').RefAttributes>;