import type { ComponentPropsWithoutRef, ElementType, ReactNode } from "react"; type HeadingVariant = "h1" | "h2" | "h3" | "h4"; /** * Array of all heading variant names (for Storybook controls, etc.) */ export declare const headingVariants: HeadingVariant[]; type HeadingProps = Omit, "children"> & { /** * HTML element to render. * @default "h2" */ as?: ElementType; /** * The content to render. */ children?: ReactNode; /** * Additional CSS classes. */ className?: string; /** * Visual style from design tokens. * @default "h2" */ variant?: HeadingVariant; }; export declare const Heading: ({ as: Element, variant, className, children, ...rest }: HeadingProps) => import("react").JSX.Element; export {};