import { PropsWithChildrenAndClassName } from '../../types'; type HeadingLevel = 1 | 2 | 3 | 4; interface TitleProps extends PropsWithChildrenAndClassName { level: HeadingLevel; } /** * **JSON-format type: title** * * This is obviously a title, but important to realize is that they can appear under different types of parents, and should be styled accordingly - a segment title should probably be styled differently to a video title, etc. * * A title is always the first child in a container (eg. Segment > Title, subSegment > Title, AdmonitionBlock > Title). * * An article will always have a title - in this case, its type is implicit, e.g. * * ``` * { * "title": "Some title", * "description": "...", * "body": [ ... ] * } * ``` * * Children: [any+] */ declare function Title({ as, level, children, className, ...props }: TitleProps): import("react/jsx-runtime").JSX.Element; export { Title };