export default MiddleTruncate;
declare function MiddleTruncate({ children, truncatedText, separator, maxWidth, onTruncate }: {
    children: any;
    truncatedText: any;
    separator: any;
    maxWidth: any;
    onTruncate: any;
}): JSX.Element;
declare namespace MiddleTruncate {
    namespace propTypes {
        let children: PropTypes.Validator<NonNullable<NonNullable<PropTypes.ReactNodeLike>>>;
        let truncatedText: PropTypes.Requireable<string>;
        let onTruncate: PropTypes.Requireable<(...args: any[]) => any>;
        let separator: PropTypes.Requireable<string>;
        let maxWidth: PropTypes.Requireable<number>;
    }
    namespace defaultProps {
        let onTruncate_1: any;
        export { onTruncate_1 as onTruncate };
        let truncatedText_1: any;
        export { truncatedText_1 as truncatedText };
        let separator_1: string;
        export { separator_1 as separator };
        let maxWidth_1: any;
        export { maxWidth_1 as maxWidth };
    }
}
import PropTypes from 'prop-types';
//# sourceMappingURL=MiddleTruncate.d.ts.map