import { ReactNode } from 'react'; type IsSectionExpandedContextValue = boolean; type Props = { isExpanded: IsSectionExpandedContextValue; children: ReactNode; }; /** * Collapsed sections keep their elements mounted but hidden, so this allows * elements to know if they are visible. A section is only considered expanded * if all of its ancestor sections are also expanded. */ export declare const IsSectionExpandedProvider: ({ isExpanded, children }: Props) => import("react/jsx-runtime").JSX.Element; declare const useIsSectionExpanded: () => boolean; export default useIsSectionExpanded;