import { type PropsWithChildren } from "react"; export type HeadingLevel = 1 | 2 | 3 | 4 | 5 | 6; /** * Based on this heading component: * https://react.docs.search.io/components/heading * https://mui.com/material-ui/react-typography/ */ export interface HeadingProps extends PropsWithChildren { level: HeadingLevel; /** Use this to make the level smaller/larger than it would be according to the HTML tag. Used for a11y to not break the document outline. */ styleLike?: HeadingLevel; /** * If true, the heading will be upper-cased (using CSS for a11y reasons). */ upperCased?: boolean; noTopMargin?: boolean; noBottomMargin?: boolean; centered?: boolean; /** * If true, the heading will be truncated with an ellipsis if it overflows. */ truncate?: boolean; } declare const _default: import("react").NamedExoticComponent; export default _default;