import * as React from 'react'; import './index.less'; import { TooltipPropsWithTitle } from 'antd/lib/tooltip'; interface IProps extends TooltipPropsWithTitle { width?: number | string; line?: number; lineHeight?: number; placement?: 'left' | 'right' | 'top' | 'bottom' | 'topLeft' | 'topRight' | 'bottomLeft' | 'bottomRight'; } interface RefObject { current: T | null; } declare class OverFlowToolTip extends React.Component { toolTipRef: RefObject; public: RefObject; private isEllips; static defaultProps: { width: number; placement: string; line: number; lineHeight: number; }; constructor(props: any); componentDidMount(): void; componentDidUpdate(): void; changeWidth(): void; onVisibleChange: () => string; render(): JSX.Element; } export default OverFlowToolTip;