/// import { Color } from '../../types'; import { BODY_TEXT_SIZES, HEADING_SIZES } from './constants'; export interface BodyTextProps extends React.HTMLAttributes { children: React.ReactNode; as?: 'p' | 'span'; bold?: boolean; color?: Color; italic?: boolean; size?: BodyTextSize; } export declare type StyledParagraphProps = Pick; export interface EyebrowTextProps extends React.HTMLAttributes { as?: 'p' | 'span'; children: React.ReactNode; color?: Color; } export interface HeadingProps extends React.HTMLAttributes { children: React.ReactNode; size: HeadingSize; as?: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6'; color?: Color; } export declare type BodyTextSize = (typeof BODY_TEXT_SIZES)[keyof typeof BODY_TEXT_SIZES]; export declare type HeadingSize = (typeof HEADING_SIZES)[keyof typeof HEADING_SIZES];