import { default as React, ComponentPropsWithoutRef } from 'react'; import { ActionListItemProps } from '../ActionList/ActionList.Item'; import { SideNavActionListItemLabelProps } from './SideNavActionListItemLabel'; export interface SideNavActionListItemExpandableProps extends ComponentPropsWithoutRef<'div'> { /** * Specify body content for the SideNav.ActionList.Item.Expandable */ children: React.ReactNode; /** * Specify a callback when the open SideNav.ActionList.Item.Expandable changes */ onToggle?: (event: React.SyntheticEvent, isOpen: boolean) => void; /** * Specify if an SideNav.ActionList.Item.Expandable is open. * If this is specified, the component becomes controlled * @default false */ open?: boolean; /** * Specify if an SideNav.ActionList.Item.Expandable is open by default * @default false */ defaultOpen?: boolean; /** * This is used internally by SideNav.ActionList.Item.Expandable and should not be set manually * @internal */ heading?: React.ReactNode; } export declare const SideNavActionListItemExpandable: (props: SideNavActionListItemExpandableProps) => import("react/jsx-runtime").JSX.Element; interface ExpandableProps extends Omit { className?: string; label: React.ReactElement; expandable: React.ReactElement; baseClassName: string; onClick?: ActionListItemProps['onClick']; } export declare const Expandable: React.ForwardRefExoticComponent>; export {};