import { RcTypographyProps } from '../Typography'; declare type RcTextProps = { /** when set `true`, add style `flex: 1 1 auto` */ flexFull?: boolean; /** highlight for text with color and background to be mentionMe */ highlight?: boolean; /** * is show title only when truncated, use `number` value to truncate text at a specific number of lines. * ### should not change titleWhenOverflow dynamically, keep that be same value, that will cause hook issue */ titleWhenOverflow?: boolean | number; } & RcTypographyProps; /** * `RcText` will auto add title with children when that children is string * and the default wrap is noWrap, * also bring with show title only when overflow */ declare const RcText: import("styled-components").StyledComponentClass & { theme?: import("../../foundation").RcTheme | undefined; }>; export { RcText }; export type { RcTextProps };