import { BoxProps, ChakraComponent } from '@chakra-ui/react'; import { default as React } from 'react'; export declare const headingSizesArray: readonly ["display1", "heading1", "heading2", "heading3", "heading4", "heading5", "heading6", "heading7", "heading8"]; export declare const headingLevelsArray: readonly ["h1", "h2", "h3", "h4", "h5", "h6"]; export type HeadingSizes = typeof headingSizesArray[number]; export type HeadingLevels = typeof headingLevelsArray[number]; export interface HeadingProps extends BoxProps { /** Optional prop used to show capitalized text */ isCapitalized?: boolean; /** Optional prop used to show upper case text */ isUppercase?: boolean; /** Optional prop used to show lower case text */ isLowercase?: boolean; /** Optional number 1-6 used to create the `` tag; if prop is not passed, * `Heading` will default to `

` */ level?: HeadingLevels; /** String to populate the overline element */ overline?: string; /** Optional size used to override the default styles of the native HTML `` * elements */ size?: HeadingSizes; /** String to populate the subtitle element */ subtitle?: string; /** Inner text of the `` element */ text?: string; /** Optional URL that header points to; when `url` prop is passed to * `Heading`, a child `` element is created and the heading text becomes an * active link */ url?: string; /** Optional className for the URL when the `url` prop is passed */ urlClass?: string; } export declare const Heading: ChakraComponent & React.RefAttributes>, React.PropsWithChildren>; export default Heading;