import './truncate-string.less';
import { ValueOf } from '../types';
export declare const ELLIPSIS_PLACE_TYPES: {
    readonly MIDDLE: "middle";
    readonly END: "end";
};
export type EllipsisPlaceType = ValueOf<typeof ELLIPSIS_PLACE_TYPES>;
export type TruncateStringProps = {
    text?: string;
    ellipsisString?: string;
    truncateAt?: EllipsisPlaceType;
    className?: string | null;
    testId?: string;
};
/**
 * Component that truncates long text in the middle or end.
 * 🚨 NOTE ➡️: max-width & min-width for a parent element is required for proper work. 🚨
 * */
declare const TruncateString: ({ text, ellipsisString, truncateAt, className, testId, }: TruncateStringProps) => import("react/jsx-runtime").JSX.Element;
export default TruncateString;
