import { FC, PropsWithChildren } from 'react'; interface SectionHeading { /** The id the surrounding `Section` gives its heading. */ id: string; /** Whether a heading currently renders with that id. */ isRendered: boolean; /** Called by a heading that renders with the id; returns the cleanup. */ register: () => () => void; } /** The heading state a `Section` provides for the given heading id. */ export declare const useSectionHeading: (id: string) => SectionHeading; export declare const SectionHeadingProvider: import('react').Provider; /** * Ends the surrounding `Section`'s heading scope, for content that has a * heading of its own (`Accordion`, `Alert`, an overlay, …). */ export declare const SectionHeadingReset: FC; /** Marks the section heading as rendered while a heading carries its id. */ export declare const useRegisterSectionHeading: (id: string | undefined) => void; /** * The `aria-labelledby` of a grid or table: its own label, else the heading of * the surrounding `Section` once that heading renders. */ export declare const useLabelledBySectionHeading: (props: { "aria-label"?: string; "aria-labelledby"?: string; }) => string | undefined; export {};