import * as i0 from '@angular/core'; import { AfterViewInit, DoCheck, TemplateRef, OnChanges, OnInit, ViewContainerRef, ComponentRef, SimpleChanges, ElementRef, AfterContentInit, QueryList } from '@angular/core'; import { Direction } from '@angular/cdk/bidi'; import { NzVariant, NzSizeLDSType, NzStatus, NzValidateStatus, NgClassInterface, OnTouchedType } from 'ng-zorro-antd/core/types'; import { NgControl, ControlValueAccessor, FormArray, FormControl } from '@angular/forms'; import { Subject } from 'rxjs'; import { NzFormItemFeedbackIconComponent } from 'ng-zorro-antd/core/form'; import * as i1 from 'ng-zorro-antd/space'; interface AutoSizeType { minRows?: number; maxRows?: number; } declare class NzAutosizeDirective implements AfterViewInit, DoCheck { private ngZone; private platform; private destroyRef; private resizeService; private el; private autosize; private cachedLineHeight; private previousValue; private previousMinRows; private minRows; private maxRows; private maxHeight; private minHeight; private inputGap; private destroyed; constructor(); set nzAutosize(value: string | boolean | AutoSizeType); resizeToFitContent(force?: boolean): void; private cacheTextareaLineHeight; setMinHeight(): number | null; setMaxHeight(): number | null; noopInputHandler(): void; ngAfterViewInit(): void; ngDoCheck(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } declare class NzInputAddonBeforeDirective { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } declare class NzInputAddonAfterDirective { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } declare class NzInputPrefixDirective { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } declare class NzInputSuffixDirective { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } /** * 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 NzInputGroupSlotComponent { icon?: string | null; type: 'addon' | 'prefix' | 'suffix' | null; template?: string | TemplateRef | null; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class NzInputDirective implements OnChanges, OnInit { private renderer; private elementRef; protected hostView: ViewContainerRef; private directionality; private compactSize; private destroyRef; private nzFormStatusService; private nzFormNoStatusService; private focusMonitor; /** * @deprecated Will be removed in v21. It is recommended to use `nzVariant` instead. */ nzBorderless: boolean; nzVariant: NzVariant; nzSize: NzSizeLDSType; nzStepperless: boolean; nzStatus: NzStatus; get disabled(): boolean; set disabled(value: boolean); _disabled: boolean; disabled$: Subject; dir: Direction; prefixCls: string; status: NzValidateStatus; statusCls: NgClassInterface; hasFeedback: boolean; feedbackRef: ComponentRef | null; components: Array>; ngControl: NgControl | null; protected focused: i0.WritableSignal; protected finalSize: i0.Signal; private size; constructor(); ngOnInit(): void; ngOnChanges({ disabled, nzStatus, nzSize }: SimpleChanges): void; private setStatusStyles; private renderFeedbackIcon; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; static ngAcceptInputType_nzBorderless: unknown; static ngAcceptInputType_nzStepperless: unknown; static ngAcceptInputType_disabled: unknown; } declare class NzInputGroupWhitSuffixOrPrefixDirective { readonly elementRef: ElementRef; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } declare class NzInputGroupComponent implements AfterContentInit, OnChanges, OnInit { private focusMonitor; private elementRef; private renderer; private cdr; private directionality; private destroyRef; private nzFormStatusService; private nzFormNoStatusService; listOfNzInputDirective: QueryList; nzAddOnBeforeIcon?: string | null; nzAddOnAfterIcon?: string | null; nzPrefixIcon?: string | null; nzSuffixIcon?: string | null; nzAddOnBefore?: string | TemplateRef; nzAddOnAfter?: string | TemplateRef; nzPrefix?: string | TemplateRef; nzStatus: NzStatus; nzSuffix?: string | TemplateRef; nzSize: NzSizeLDSType; nzSearch: boolean; isLarge: boolean; isSmall: boolean; isAffix: boolean; isAddOn: boolean; isFeedback: boolean; focused: boolean; disabled: boolean; dir: Direction; prefixCls: string; affixStatusCls: NgClassInterface; groupStatusCls: NgClassInterface; affixInGroupStatusCls: NgClassInterface; status: NzValidateStatus; hasFeedback: boolean; constructor(); updateChildrenInputSize(): void; ngOnInit(): void; ngAfterContentInit(): void; ngOnChanges(changes: SimpleChanges): void; private setStatusStyles; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; static ngAcceptInputType_nzSearch: unknown; } declare class NzInputOtpComponent implements ControlValueAccessor, OnChanges { private formBuilder; private destroyRef; otpInputs: QueryList; nzLength: number; nzSize: NzSizeLDSType; disabled: boolean; nzStatus: NzStatus; nzFormatter: (value: string) => string; nzMask: string | null; protected otpArray: FormArray>; private internalValue; private onChangeCallback?; onTouched: OnTouchedType; constructor(); ngOnChanges(changes: SimpleChanges): void; onInput(index: number, event: Event): void; onFocus(event: FocusEvent): void; onKeyDown(index: number, event: KeyboardEvent): void; writeValue(value: string): void; registerOnChange(fn: (value: string) => void): void; registerOnTouched(fn: () => {}): void; setDisabledState(isDisabled: boolean): void; onPaste(index: number, event: ClipboardEvent): void; private createFormArray; private emitValue; private selectInputBox; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; static ngAcceptInputType_nzLength: unknown; static ngAcceptInputType_disabled: unknown; } /** * 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 NzTextareaCountComponent implements AfterContentInit { private renderer; private destroyRef; private elementRef; nzInputDirective: NzInputDirective; nzMaxCharacterCount: number; nzComputeCharacterCount: (v: string) => number; nzFormatter: (cur: number, max: number) => string; ngAfterContentInit(): void; setDataCount(value: string): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; static ngAcceptInputType_nzMaxCharacterCount: unknown; } declare class NzInputModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } export { NzAutosizeDirective, NzInputAddonAfterDirective, NzInputAddonBeforeDirective, NzInputDirective, NzInputGroupComponent, NzInputGroupSlotComponent, NzInputGroupWhitSuffixOrPrefixDirective, NzInputModule, NzInputOtpComponent, NzInputPrefixDirective, NzInputSuffixDirective, NzTextareaCountComponent }; export type { AutoSizeType };