type UseDisclosureProps = { /** * The initial open state. */ value?: boolean; /** * Callback when the option panel is opened. */ onOpen?: () => void; /** * Callback when the option panel is closed. */ onClose?: () => void; /** * Callback when the option panel is toggled. * * @param nextValue - The next open state. */ onToggle?: (nextValue: boolean) => void; }; /** * Custom hook to manage the disclosure state. * Use this only inside the client component. * * @property isOpen - Indicates whether the option panel is open * * @property toggle - Function to toggle the option panel open/closed state * * @property open - Function to open the option panel * * @property close - Function to close the option panel * * @returns The list box state and control functions */ export declare const useDisclosure: ({ value, onOpen, onClose, onToggle }?: UseDisclosureProps) => { isOpen: boolean; toggle: () => void; open: () => void; close: () => void; }; export {};