import React, { Component } from 'react'; export declare const getStrFullLength: (str?: string) => number; export declare const cutStrByFullLength: (str: string | undefined, maxLength: number) => string; interface IEllipsis { lines?: number; length?: number; className?: any; tooltip?: boolean; fullWidthRecognition?: boolean; isSupportLineClamp?: any; } export default class Ellipsis extends Component { node?: any; root?: any; content?: any; shadow?: any; shadowChildren: { innerText?: any; textContent?: any; offsetHeight?: any; }; constructor(props: IEllipsis); state: { text: string; targetCount: number; }; componentDidMount(): void; componentDidUpdate(perProps: Readonly): void; computeLine: () => void; bisection: (th: any, m: any, b: any, e: any, text: any, shadowNode: any) => any; handleRoot: (n: any) => void; handleContent: (n: any) => void; handleNode: (n: any) => void; handleShadow: (n: any) => void; handleShadowChildren: (n: any) => void; render(): React.ReactNode; } export {};