import { ElementRef, Renderer2 } from '@angular/core'; import { ControlValueAccessor } from '@angular/forms'; import { NzxConfigKey } from '@winkong/ng-zorro-antd-extension/core/config'; import * as i0 from "@angular/core"; export declare class NzxTrimDirective implements ControlValueAccessor { private _renderer; private _elementRef; private _compositionMode; readonly _nzModuleName: NzxConfigKey; private nzxConfigService; private _composing; onChange: (_: any) => void; onTouched: () => void; /** * - trim 前后过滤空格 * - trimStart 过滤前空格 * - trimEnd 过滤后空格 */ trimType: 'trim' | 'trimStart' | 'trimEnd'; constructor(_renderer: Renderer2, _elementRef: ElementRef, _compositionMode: boolean); input(val: string): void; compositionstart(val: string): void; compositionend(val: any): void; blur(val: string): void; /** @internal */ _handleInput(value: any): void; /** @internal */ _compositionStart(): void; /** @internal */ _compositionEnd(value: any): void; /** @internal */ _isAndroid(): boolean; writeValue(value: any): void; registerOnChange(fn: any): void; registerOnTouched(fn: any): void; setProperty(key: string, value: any): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; }