import { ComponentPropsWithoutRef, ElementType, PropsWithChildren } from 'react'; export type TypographyTypeLanding = 'claim' | 'claim-uppercase' | 'h1' | 'h1-uppercase' | 'h2' | 'h2-uppercase' | 'h3' | 'h4' | 'h5' | 'h6' | 'overline' | 'body-large' | 'body-large-semibold' | 'body' | 'body-semibold' | 'body-small' | 'body-small-semibold' | 'body-small-italic' | 'body-italic' | 'body-large-italic' | 'quote-large' | 'quote-small' | 'detail-small' | 'detail-small-bold'; export type TypographyTypeProduct = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'h7' | 'h8' | 'body-large' | 'body-regular' | 'body-semibold' | 'body-italic' | 'body-text-link' | 'detail-medium' | 'detail-bold' | 'detail-upper-case' | 'detail-regular' | 'detail-text-link'; type AsProp = { as?: C; 'data-testid'?: string; disableAutolinks?: boolean; markdown?: boolean; markdownInline?: boolean; }; type PropsToOmit = keyof (AsProp & P); type PolymorphicComponentProp> = PropsWithChildren> & Omit, PropsToOmit>; export type AllowedTypographyHTMLTags = 'span' | 'p' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6'; export type AllowedHTMLElements = ElementType<{ className?: string; }, AllowedTypographyHTMLTags>; export type TypographyProductProps = PolymorphicComponentProp; export type TypographyLandingProps = PolymorphicComponentProp; export type TypographyProps = TypographyProductProps | TypographyLandingProps; export {};