/// import { ComponentProps, ExcludedProps, ScaleValue, VariantProps } from "@vitality-ds/system"; import type { valueof } from "../helpers/logic/type-helpers"; import { BaseTypography } from "./styled"; export declare type AllowedTypographyHTMLElements = keyof Pick; export declare type AvailableColorVariants = VariantProps["color"]; export declare type ColorScaleValues = `$colors${ScaleValue<"colors">}`; export declare type ColorType = ColorScaleValues | AvailableColorVariants; export declare type TypographyProps = ExcludedProps & Omit, "color"> & { /** * Override the rendered HTML element one of a predefined set of options */ htmlTag?: AllowedTypographyHTMLElements; /** * Accepts any valid colour returned by getColorScaleValueByUseCase() or a pre-set list of legacy color names */ color?: ColorType; }; export declare type TypographyVariantOptions = valueof, "variant">>;