import { ReactNode } from 'react'; import { FontSize, ResponsiveValue } from './types'; declare type VariantBase = BaseInterface & { $headingFontFamily?: FontFamily; }; declare type ManualVariant = BaseVariant & { $headingFontWeight?: FontWeight; $headingFontSize?: ResponsiveValue; }; declare type PresetVariant = BaseVariant & { $headingPreset: PresetName; }; declare type DynamicVariant = ManualVariant | PresetVariant; declare type Variant = DynamicVariant, FontWeight, FontSize>, PresetVariant, PresetName>>; interface BaseHeadingProps { as: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'p' | 'div' | 'span'; children?: ReactNode; $headingColor?: 'black' | 'white' | 'blue' | 'inherit'; } declare type GroteskHeadingFontFamily = 'grotesk'; declare type DisplayHeadingFontFamily = 'display'; declare type GroteskHeadingPresetName = 'error'; declare type DisplayHeadingPresetName = 'hero'; export declare type GroteskHeadingFontSize = Extract<16 | 18 | 20 | 24 | 28 | 32 | 36 | 40 | 48, FontSize>; declare type DisplayHeadingFontSize = Extract<20 | 24 | 28 | 32 | 36 | 40 | 48 | 56 | 64, FontSize>; declare type GroteskHeadingFontWeight = 'regular'; declare type DisplayHeadingFontWeight = 'regular' | 'medium'; export declare type GroteskHeadingProps = Variant; export declare type DisplayHeadingProps = Variant; export declare type HeadingProps = (GroteskHeadingProps | DisplayHeadingProps) & { $headingFontFamily: GroteskHeadingFontFamily | DisplayHeadingFontFamily; }; export declare const declareHeadingStyles: (props: HeadingProps) => string; export declare const headingCSS: import("styled-components").FlattenInterpolation>; export declare const Heading: import("styled-components").StyledComponent<"p", any, HeadingProps, never>; export declare const DisplayHeading: import("styled-components").StyledComponent<"p", any, DynamicVariant, import("./types").DisplayFontWeight, 20 | 24 | 28 | 32 | 36 | 40 | 48 | 56 | 64>, PresetVariant, "hero">>, never>; export declare const GroteskHeading: import("styled-components").StyledComponent<"p", any, DynamicVariant, "regular", 16 | 18 | 20 | 24 | 28 | 32 | 36 | 40 | 48>, PresetVariant, "error">>, never>; export {}; //# sourceMappingURL=Heading.d.ts.map