import { SlotProps } from "../types.mjs"; import { LineHeightProp, TextAlignProp } from "@marigold/system"; import { ReactNode } from "react"; import { AriaLabelingProps } from "@marigold/types"; /** * The shared heading size scale. Reused by `Title` so heading primitives * share one vocabulary. Will become a typography token in a future PR. */ export type HeadlineSize = 'level-1' | 'level-2' | 'level-3' | 'level-4' | 'level-5' | 'level-6'; export interface HeadlineProps extends AriaLabelingProps, TextAlignProp, LineHeightProp, SlotProps { /** * Set the color of the headline. */ color?: string; /** * Visual variant of the component. Which values exist is defined by the theme * and listed in the "Appearance" section of the component's documentation. */ variant?: string; /** * Size of the component. Which values exist is defined by the theme and listed * in the "Appearance" section of the component's documentation. */ size?: HeadlineSize | (string & {}); /** * Set a different level. */ level?: '1' | '2' | '3' | '4' | '5' | '6' | 1 | 2 | 3 | 4 | 5 | 6; /** * Children of the component. */ children?: ReactNode; } declare const Headline: ({ variant, size, children, align, color, level, lineHeight, slot, ...props }: HeadlineProps) => import("react").JSX.Element; export { Headline };