import React from 'react'; import { TextAlignProps } from 'styled-system'; import { ColorVariant } from '../../utils/colorHelper'; export declare const HeadingVariants: { readonly 140: "140"; readonly 120: "120"; readonly 100: "100"; readonly 80: "80"; readonly 60: "60"; readonly 40: "40"; readonly 20: "20"; readonly 15: "15"; readonly 10: "10"; }; export type HeadingVariantKeys = (typeof HeadingVariants)[keyof typeof HeadingVariants]; export interface HeadingProps extends Pick { /** * Heading variant to use. This determines the default HTML heading element. * * - `140` → `

` * - `120` → `

` * - `100` → `

` * - `80` → `

` * - `60` → `

` * - `40` → `

` * - `20` → `
` * - `10` → `
` */ variant?: HeadingVariantKeys; /** * Heading color. Can be a single value or an array for responsive design. * When an array is provided, each value applies to the corresponding breakpoint. * * Example: ['white', 'light', 'dark'] will use 'white' on mobile, 'light' on tablet, and 'dark' on desktop. */ color?: ColorVariant | ColorVariant[]; /** * Heading style to use */ as?: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'span'; /** * Id of heading */ id?: string; children: React.ReactNode; } declare const Heading: React.ForwardRefExoticComponent>; export default Heading;