import type { FC, ReactNode } from "react"; import { type Props as BoxProps } from "../Box/Box"; type Props = BoxProps<"section"> & { /** * Sets the aria-label and title properties on the DOM element. * When the headerTitle prop is omitted this will also render a visible title inside the header. */ title?: string; footer?: ReactNode; className?: string; isLoading?: boolean; children?: ReactNode; /** * Rendered opposite of the `title`. */ headerAside?: ReactNode; /** * Rendered instead of the title text. * * The title prop will still be used as the `title` and `aria-label` attributes in the DOM when provided. */ headerTitle?: ReactNode; }; /** * @deprecated use `React.ComponentProps` instead */ export type SectionProps = Props; export declare const Section: FC; export default Section;