import * as _angular_core from '@angular/core'; import { OnInit, OnDestroy, ElementRef } from '@angular/core'; import * as i1$1 from '@angular/common'; import * as i2 from 'ngx-tethys/notify'; import * as i1 from 'ngx-tethys/tooltip'; import { ThyTooltipDirective } from 'ngx-tethys/tooltip'; interface ThyCopyEvent { isSuccess: boolean; event: Event; } /** * @name thyCopy */ declare class ThyCopyDirective implements OnInit, OnDestroy { private document; tooltipDirective: ThyTooltipDirective; private notifyService; private locale; /** * 默认为点击标签,可传复制目标标签 */ readonly thyCopy: _angular_core.OutputEmitterRef; /** * 复制成功时的文案 */ readonly thyCopySuccessText: _angular_core.InputSignal; /** * 提示文案 */ readonly thyCopyTips: _angular_core.InputSignal; /** * 偏移量 */ readonly thyCopyTipsOffset: _angular_core.InputSignal; /** * 当为 string 时,复制的是传入的内容;当为 ElementRef | HTMLElement 时,复制的是 dom 节点的 value 或者 textContent */ readonly thyCopyContent: _angular_core.InputSignal | undefined>; /** * 是否展示通知 */ readonly thyShowNotify: _angular_core.InputSignalWithTransform; ngOnInit(): void; private getContent; onClick(event: Event): void; ngOnDestroy(): void; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵdir: _angular_core.ɵɵDirectiveDeclaration; } declare class ThyCopyModule { static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵmod: _angular_core.ɵɵNgModuleDeclaration; static ɵinj: _angular_core.ɵɵInjectorDeclaration; } export { ThyCopyDirective, ThyCopyModule }; export type { ThyCopyEvent };