import { PropsWithChildren } from 'react'; import { SerializedStyles } from '@emotion/react'; import { Color, TextSize, TextWeight, TextStyle, WhiteSpace, TextAlign, LineHeightRem, TextSizeRem, NewColors, NewTextWeight } from '../constants'; export type BCTextProps = { as?: 'span' | 'label'; htmlFor?: string; size?: TextSize; weight?: TextWeight; style?: TextStyle; align?: TextAlign; whiteSpace?: WhiteSpace; color?: Color; uppercase?: boolean; underline?: boolean; ellipsis?: boolean; className?: string; title?: string; dataQA?: string; lineClamp?: number; maxWidth?: string; strikeThrough?: boolean; breakWords?: boolean; lineHeightRem?: LineHeightRem; sizeRem?: TextSizeRem; newTextColor?: NewColors; newTextWeight?: NewTextWeight; customCss?: SerializedStyles; }; /** * This component is used to add text in the application */ export declare function BCText({ as, htmlFor, children, size, weight, color, style, align, uppercase, underline, ellipsis, lineClamp, className, title, maxWidth, strikeThrough, whiteSpace, breakWords, lineHeightRem, sizeRem, newTextColor, newTextWeight, customCss, }: PropsWithChildren): import("@emotion/react/jsx-runtime").JSX.Element; export declare function BCError({ htmlFor, children, style, align, uppercase, underline, ellipsis, className, title, maxWidth, strikeThrough, whiteSpace, breakWords, lineHeightRem, sizeRem, newTextColor, newTextWeight, }: PropsWithChildren): import("@emotion/react/jsx-runtime").JSX.Element;