import { default as React } from 'react'; import { TooltipProps } from '../Tooltip/Tooltip'; export type TrimTextProps = { /** The text that you need truncated */ text: string; /** The number of characters before the text is truncated */ limit?: number; /** Position the tooltip will open */ position?: TooltipProps['position']; /** Optional class to add to the text */ customClass?: string; /** Optional prop to add a test id to the TrimText for QA testing */ qaTestId?: string; }; declare const TrimText: ({ text, limit, position, customClass, qaTestId, }: TrimTextProps) => React.JSX.Element; export default TrimText;