import * as i0 from '@angular/core'; import { OnInit, OnChanges, EventEmitter, SimpleChanges, ElementRef, AfterViewInit, TemplateRef, EmbeddedViewRef } from '@angular/core'; import { Direction } from '@angular/cdk/bidi'; import { NzConfigKey, NzConfigService } from 'ng-zorro-antd/core/config'; import { NzTSType } from 'ng-zorro-antd/core/types'; import { NzTextI18nInterface } from 'ng-zorro-antd/i18n'; import { NzAutosizeDirective } from 'ng-zorro-antd/input'; declare class NzTextCopyComponent implements OnInit, OnChanges { private cdr; private clipboard; private i18n; private destroyRef; copied: boolean; copyId?: ReturnType; locale: NzTextI18nInterface; nativeElement: any; copyTooltip: NzTSType | null; copedTooltip: NzTSType | null; copyIcon: NzTSType; copedIcon: NzTSType; text: string; tooltips?: [NzTSType, NzTSType] | null; icons: [NzTSType, NzTSType]; readonly textCopy: EventEmitter; constructor(); ngOnInit(): void; ngOnChanges(changes: SimpleChanges): void; onClick(): void; onCopied(): void; private updateTooltips; private updateIcons; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class NzTextEditComponent implements OnInit { private ngZone; private cdr; private i18n; private destroyRef; editing: boolean; locale: NzTextI18nInterface; text?: string; icon: NzTSType; tooltip?: null | NzTSType; readonly startEditing: EventEmitter; readonly endEditing: EventEmitter; set textarea(textarea: ElementRef | undefined); autosizeDirective: NzAutosizeDirective; beforeText?: string; currentText?: string; nativeElement: HTMLElement; private textarea$; private injector; ngOnInit(): void; onClick(): void; confirm(): void; onEnter(event: Event): void; onCancel(): void; focusAndSetValue(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } /** * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE */ declare class NzTypographyComponent implements OnInit, AfterViewInit, OnChanges { readonly _nzModuleName: NzConfigKey; nzConfigService: NzConfigService; private el; private cdr; private viewContainerRef; private renderer; private platform; private i18n; private resizeService; private directionality; private document; private destroyRef; nzCopyable: boolean; nzEditable: boolean; nzDisabled: boolean; nzExpandable: boolean; nzEllipsis: boolean; nzCopyTooltips?: [NzTSType, NzTSType] | null; nzCopyIcons: [NzTSType, NzTSType]; nzEditTooltip?: null | NzTSType; nzEditIcon: NzTSType; nzContent?: string; nzEllipsisRows: number; nzType: 'secondary' | 'warning' | 'danger' | 'success' | undefined; nzCopyText: string | undefined; nzSuffix: string | undefined; readonly nzContentChange: EventEmitter; readonly nzCopy: EventEmitter; readonly nzExpandChange: EventEmitter; readonly nzOnEllipsis: EventEmitter; textEditRef?: NzTextEditComponent; textCopyRef?: NzTextCopyComponent; ellipsisContainer?: ElementRef; expandableBtn?: ElementRef; contentTemplate?: TemplateRef<{ content: string; }>; locale: NzTextI18nInterface; expandableBtnElementCache: HTMLElement | null; editing: boolean; ellipsisText: string | undefined; cssEllipsis: boolean; isEllipsis: boolean; expanded: boolean; ellipsisStr: string; dir: Direction; get hasEllipsisObservers(): boolean; get canCssEllipsis(): boolean; get hasOperationsWithEllipsis(): boolean; private viewInit; private requestId; private windowResizeSubscription; get copyText(): string; constructor(); onTextCopy(text: string): void; onStartEditing(): void; onEndEditing(text: string): void; onExpand(): void; canUseCSSEllipsis(): boolean; renderOnNextFrame(): void; getOriginContentViewRef(): { viewRef: EmbeddedViewRef<{ content: string; }>; removeView(): void; }; syncEllipsis(): void; private getExpandableBtnElement; private renderAndSubscribeWindowResize; ngOnInit(): void; ngAfterViewInit(): void; ngOnChanges(changes: SimpleChanges): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; static ngAcceptInputType_nzCopyable: unknown; static ngAcceptInputType_nzEditable: unknown; static ngAcceptInputType_nzDisabled: unknown; static ngAcceptInputType_nzExpandable: unknown; static ngAcceptInputType_nzEllipsis: unknown; static ngAcceptInputType_nzEllipsisRows: unknown; } declare class NzTypographyModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } export { NzTextCopyComponent, NzTextEditComponent, NzTypographyComponent, NzTypographyModule };