import type { GlobalProps } from '../../shared/global'; import type { ComponentChildren } from '../../shared/children'; import { AccessibilityRole, AccessibilityVisibilityProps } from '../../shared/accessibility'; import { ExtractStrict } from '../../shared/utils'; import { BlockTypographyProps } from '../../shared/typography'; export interface HeadingProps extends GlobalProps, AccessibilityVisibilityProps, BlockTypographyProps { /** * The content of the Heading. */ children?: ComponentChildren; /** * Sets the semantic meaning of the component’s content. When set, * the role will be used by assistive technologies to help users * navigate the page. * * - `heading`: defines the element as a heading to a page or section. * - `presentation`: the heading level will be stripped, * and will prevent the element’s implicit ARIA semantics from * being exposed to the accessibility tree. * - `none`: a synonym for the `presentation` role. * * @default 'heading' * * @implementation The `heading` role doesn't need to be applied if * the host applies it for you; for example, an HTML host rendering * an `