import * as React from "react"; import { FCReturn, JSXIntrinsicElementProps, ReactAttr, ReactComponentConstructor, ReactDivAttr, } from "../../../typings/shared"; type SafeProps

= Omit; export type SectionDefaultProps = ReactAttr & { as?: undefined; }; export type SectionIntrinsicProps = & SafeProps> & { as: K; }; export type SectionCustomComponentProps< C extends ReactComponentConstructor, > = C extends ReactComponentConstructor ? SafeProps

& { as: C; } : never; declare function Section(props: SectionDefaultProps): FCReturn; declare function Section(props: SectionIntrinsicProps): FCReturn; declare function Section>(props: SectionCustomComponentProps): FCReturn; export interface HeadingProps extends ReactAttr {} declare const Heading: React.FC; export { Heading, Section };