/// interface UseDisclosureProps { id: string; isExpanded?: boolean; hiddenContentRef?: React.RefObject; children?: any; } declare type TriggerProps = { id: string; onClick: () => void; type: "button" | "reset" | "submit" | undefined; "aria-expanded": boolean; "aria-controls": string; }; declare type ContentProps = { id: string; "aria-hidden": boolean; "aria-labelledby": string; style: { [key: string]: string; }; }; declare type useDisclosureReturn = { triggerProps: TriggerProps; contentProps: ContentProps; isExpanded: boolean; trigger: () => void; }; declare const useDisclosure: ({ id, isExpanded: isExpandedProp, hiddenContentRef, children }: UseDisclosureProps) => useDisclosureReturn; export default useDisclosure;