import { DefaultValueAccessor } from "@angular/forms"; import { ElementRef, Renderer2 } from "@angular/core"; export declare class InputTrimDirective extends DefaultValueAccessor { private _type; private _value; private _sourceRenderer; private _sourceElementRef; trim: string; type: string; /** * Get the cached value for comparison. * */ /** * Set a new value to the field and model. * */ value: any; /** * Updates the value on the blur event. */ onBlur(event: string, value: string): void; /** * Updates the value on the input event. */ onInput(event: string, value: string): void; constructor(renderer: Renderer2, elementRef: ElementRef, compositionMode: boolean); writeValue(value: any): void; private _updateValue; }