export declare class TrimText {
    el: HTMLElement;
    text: string;
    class?: string;
    dataTestId?: string;
    overflow: boolean;
    private trimRef;
    private hiddenTextRef;
    private resizeObserver;
    componentDidLoad(): void;
    disconnectedCallback(): void;
    private setupResizeObserver;
    private checkOverflow;
    render(): any;
    private getTrimmedText;
}
