import React from 'react'; import CSS from 'csstype'; import { BodyTextVariant, ColorsString } from './types'; import { FontWeight } from '../../../themeBase'; export type BodyTextProps = { color?: ColorsString | string; variant?: BodyTextVariant; children: React.ReactNode; fontWeight?: FontWeight; fontStyle?: CSS.Property.FontStyle; textAlign?: CSS.Property.TextAlign; lineHeight?: CSS.Property.LineHeight; overflow?: 'truncate' | 'break-word'; whiteSpace?: CSS.Property.WhiteSpace; as?: React.ElementType; }; declare const BodyText: ({ variant, fontWeight, fontStyle, color, textAlign, lineHeight, overflow, children, as, whiteSpace, }: BodyTextProps) => React.JSX.Element; export default BodyText;