import * as _angular_core from '@angular/core'; import { AfterContentInit, OnDestroy, TemplateRef } from '@angular/core'; import * as i1$1 from '@angular/common'; import * as i1 from 'ngx-tethys/tooltip'; import { ThyTooltipDirective } from 'ngx-tethys/tooltip'; import * as i3 from '@angular/cdk/observers'; import { ThyPlacement } from 'ngx-tethys/core'; import { Subscription, Observable } from 'rxjs'; /** * 文本提示组件,支持组件 thy-flexible-text 和指令 [thyFlexibleText] 两种方式 * @name thy-flexible-text,[thyFlexibleText] */ declare class ThyFlexibleText implements AfterContentInit, OnDestroy { private elementRef; private contentObserver; private ngZone; tooltipDirective: ThyTooltipDirective; isOverflow: boolean; subscription: Subscription | null; /** * 触发提示方式 * @type hover | focus | click * @default hover */ readonly trigger: _angular_core.InputSignal<"focus" | "hover" | "click" | undefined>; /** * 自定义class类,如果不设置默认会包含 `flexible-text-container` */ readonly thyContainerClass: _angular_core.InputSignal; /** * 需要展示的全部内容 * @type string | TemplateRef */ readonly thyTooltipContent: _angular_core.InputSignal | undefined>; /** * tooltip 的提示位置 * @type top | bottom | left | right * @default top */ readonly thyTooltipPlacement: _angular_core.InputSignal; /** * tooltip 偏移量 */ readonly thyTooltipOffset: _angular_core.InputSignalWithTransform; private destroy$; private hostRenderer; static createResizeObserver(element: HTMLElement): Observable; constructor(); ngAfterContentInit(): void; ngOnDestroy(): void; applyOverflow(): void; updateContainerClass(): void; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; } declare class ThyFlexibleTextModule { static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵmod: _angular_core.ɵɵNgModuleDeclaration; static ɵinj: _angular_core.ɵɵInjectorDeclaration; } export { ThyFlexibleText, ThyFlexibleTextModule };