import { ComponentProps } from 'react'; export type TextSize = 'xs' | 'sm' | 'base' | 'lg' | 'xl' | '2xl' | '3xl' | '4xl' | '5xl' | '6xl' | '7xl' | '8xl' | '9xl'; export type TextComponent = ({ as?: 'p'; } & ComponentProps<'p'>) | ({ as?: 'span'; } & ComponentProps<'span'>) | ({ as?: 'h1'; } & ComponentProps<'h1'>) | ({ as?: 'h2'; } & ComponentProps<'h2'>) | ({ as?: 'h3'; } & ComponentProps<'h3'>) | ({ as?: 'h4'; } & ComponentProps<'h4'>) | ({ as?: 'h5'; } & ComponentProps<'h5'>) | ({ as?: 'h6'; } & ComponentProps<'h6'>) | ({ as?: 'div'; } & ComponentProps<'div'>) | ({ as?: 'label'; } & ComponentProps<'label'>) | ({ as?: 'strong'; } & ComponentProps<'strong'>) | ({ as?: 'em'; } & ComponentProps<'em'>) | ({ as?: 'small'; } & ComponentProps<'small'>); export type WeightTypes = 'regular' | 'medium' | 'bold'; export type TextProps = TextComponent & { size?: TextSize; weight?: WeightTypes; }; //# sourceMappingURL=types.d.ts.map