import React, { Component } from 'react'; import type { TooltipProps } from 'antd/lib/tooltip'; import './index.less'; interface IEllipsisProps { tooltip?: boolean | TooltipProps; length?: number; lines?: number; style?: React.CSSProperties; className?: string; fullWidthRecognition?: boolean; } export declare const getStrFullLength: (str?: string) => number; export declare const getEllips: (str: string | undefined, maxLength: number) => string; export default class Ellipsis extends Component { private node; private shadowChildren; private content; private shadow; private root; state: { text: string; targetCount: number; }; componentDidMount(): void; componentDidUpdate(perProps: any): void; computeLine: () => void; bisection: (th: any, m: any, b: any, e: any, text: any, shadowNode: any) => any; handleContent: (n: any) => void; handleNode: (n: any) => void; handleShadow: (n: any) => void; handleShadowChildren: (n: any) => void; render(): any; } export {};