import React from 'react'; import type { CommonComponentProps, FontWeights, LineHeights, MarginModifierProp, ModifierClassProp, Tracking, TypeSizes } from '../types'; import type { GetRef } from '../utils/refs'; interface HeadingProps extends CommonComponentProps, MarginModifierProp, ModifierClassProp { children?: React.ReactNode; getRef?: GetRef; id?: string; level: '1' | '2' | '3' | '4' | '5' | '6'; lineHeight?: LineHeights; size?: TypeSizes; tracking?: Tracking; weight?: FontWeights; } /** * __Note:__ By default, Particle styles all heading levels indentically. * This is an intentional decision to separate the semantic meaning of the * element from the visual treatment, providing flexibility in the UI while * allowing engineers to choose the right heading level based on the context. * * Apply the desired font size and weight via props. */ export declare function Heading({ _modifierClass, 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledby, 'aria-describedby': ariaDescribedby, children, getRef, id, level, lineHeight, margin, size, tracking, weight, ...rest }: HeadingProps): React.JSX.Element; export {};