import React from 'react';
import { EllipsisProps, EllipsisState } from '../../Ellipsis.types';
import { TooltipActions } from '../../../../Tooltip';
type TextComponentProps = Pick<EllipsisProps, 'ellipsis' | 'maxLines' | 'render'> & {
    textRendered: boolean;
    onTextRendered: () => void;
    textElementRef: React.RefObject<HTMLElement>;
    tooltipRef?: React.RefObject<TooltipActions>;
    isEllipsisActive: boolean;
};
declare class TextComponent extends React.PureComponent<TextComponentProps, EllipsisState> {
    private requestedRecalculationMount;
    private requestedRecalculationUpdate;
    constructor(props: TextComponentProps);
    _getEllipsisClasses: () => (className?: string) => any;
    componentDidMount(): void;
    componentDidUpdate(): void;
    componentWillUnmount(): void;
    renderChildren({ text, suffix, }: {
        text: React.ReactNode;
        suffix?: React.ReactNode;
    }): React.ReactNode;
    renderElement({ element, suffix, }: {
        element: React.ReactNode;
        suffix?: React.ReactNode;
    }): React.ReactNode;
    render(): React.ReactElement<any, string | React.JSXElementConstructor<any>>;
}
export default TextComponent;
//# sourceMappingURL=TextComponent.d.ts.map