import { default as PropTypes } from 'prop-types';
/**
 * 紧凑文本组件 (显示首尾, 中间截断显示省略号), 仅考虑等宽字体的情况
 */
declare function CompactText({ startChars, endChars, children, showCopyButtonInTooltip }: {
    startChars?: number | undefined;
    endChars?: number | undefined;
    children: any;
    showCopyButtonInTooltip?: boolean | undefined;
}): import("react/jsx-runtime").JSX.Element;
declare namespace CompactText {
    namespace propTypes {
        let startChars: PropTypes.Requireable<number>;
        let endChars: PropTypes.Requireable<number>;
        let children: PropTypes.Validator<NonNullable<PropTypes.ReactNodeLike>>;
        let showCopyButtonInTooltip: PropTypes.Requireable<boolean>;
    }
}
export default CompactText;
