import { ComponentPropsWithoutRef } from 'react'; /** * Props for the SideNavCollapsible component * @extends Omit, "onClick"> */ export type SideNavCollapsibleProps = Omit, "onClick"> & { /** * The label text displayed for the collapsible section */ label: string; /** * Function called when the collapsible button is clicked */ onClick?: ComponentPropsWithoutRef<"button">["onClick"]; /** * Function called when a key is pressed on the collapsible button */ onKeyDown?: ComponentPropsWithoutRef<"button">["onKeyDown"]; /** * Initial expansion state for uncontrolled usage * @default false */ defaultExpanded?: boolean; /** * Controlled expansion state */ expanded?: boolean; }; /** * SideNavCollapsible component for expandable navigation sections within a SideNav. * * Features: * - Expandable/collapsible navigation sections * - Controlled and uncontrolled expansion states * - Keyboard navigation with arrow keys for expansion * - Automatic expansion when child links are active * - Accessible with proper ARIA expanded states * - Visual indicators for active children * - Integration with SideNav keyboard navigation * * @example * * * Button * * * Input * * */ export declare const SideNavCollapsible: import('react').ForwardRefExoticComponent, HTMLLIElement>, "ref">, "onClick"> & { /** * The label text displayed for the collapsible section */ label: string; /** * Function called when the collapsible button is clicked */ onClick?: ComponentPropsWithoutRef<"button">["onClick"]; /** * Function called when a key is pressed on the collapsible button */ onKeyDown?: ComponentPropsWithoutRef<"button">["onKeyDown"]; /** * Initial expansion state for uncontrolled usage * @default false */ defaultExpanded?: boolean; /** * Controlled expansion state */ expanded?: boolean; } & import('react').RefAttributes>;