import { Observable } from 'rxjs'; import * as i0 from '@angular/core'; import { EventEmitter, ViewRef, TemplateRef, ChangeDetectorRef, ElementRef, Renderer2, OnInit } from '@angular/core'; import { ControlValueAccessor, NgControl } from '@angular/forms'; interface ILuClearer { onClear: Observable; } declare abstract class ALuClearer implements ILuClearer { onClear: Observable; } interface LuClearerLabel { clear: string; } declare class LuInputClearerComponent extends ALuClearer implements ILuClearer { intl: LuClearerLabel; onClear: EventEmitter; onClick($event: Event): void; static ɵfac: i0.ɵɵFactoryDeclaration, never>; static ɵcmp: i0.ɵɵComponentDeclaration, "lu-input-clearer", ["luClearer"], {}, { "onClear": "onClear"; }, never, never, true, never>; } declare class LuInputClearerModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } interface ILuInputDisplayer { multiple: boolean; getViewRef(value: T | T[]): ViewRef; } declare abstract class ALuInputDisplayer implements ILuInputDisplayer { multiple: boolean; abstract getViewRef(value: T | T[]): ViewRef; } /** * @deprecated */ declare class LuInputDisplayerDirective extends ALuInputDisplayer implements ILuInputDisplayer { protected template: TemplateRef>; set argMultiple(m: boolean); set inputMultiple(m: boolean | string); constructor(template: TemplateRef>); getViewRef(value: T | T[]): ViewRef; static ɵfac: i0.ɵɵFactoryDeclaration, never>; static ɵdir: i0.ɵɵDirectiveDeclaration, "[luDisplayer]", never, { "argMultiple": { "alias": "luDisplayerMultiple"; "required": false; }; "inputMultiple": { "alias": "multiple"; "required": false; }; }, {}, never, never, true, never>; } declare class LuInputDisplayerContext { $implicit: T | T[]; constructor($implicit: T | T[]); } declare class LuInputDisplayerModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } type ILuInput = ControlValueAccessor; declare abstract class ALuInput implements ILuInput { protected _changeDetectorRef: ChangeDetectorRef; protected _elementRef: ElementRef; protected _renderer: Renderer2; protected _placeholder: string; get placeholder(): string; protected _value: T; constructor(_changeDetectorRef: ChangeDetectorRef, _elementRef: ElementRef, _renderer: Renderer2); setValue(value: T): void; get value(): T; set value(value: T); writeValue(value: T): void; protected _cvaOnChange: (value: T) => void; registerOnChange(fn: (value: T) => void): void; protected _onTouched: () => void; registerOnTouched(fn: () => void): void; protected isEmpty(): boolean; protected applyClasses(): void; protected abstract render(): void; } /** * adds class is-filled when model is empty */ declare class LuInputDirective implements OnInit { protected _elementRef: ElementRef; protected _renderer: Renderer2; protected _ngControl: NgControl; constructor(_elementRef: ElementRef, _renderer: Renderer2, _ngControl: NgControl); protected isEmpty(value: any): boolean; protected applyClasses(value: any): void; ngOnInit(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } declare class LuInputModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } export { ALuClearer, ALuInput, ALuInputDisplayer, LuInputClearerComponent, LuInputClearerModule, LuInputDirective, LuInputDisplayerContext, LuInputDisplayerDirective, LuInputDisplayerModule, LuInputModule }; export type { ILuClearer, ILuInput, ILuInputDisplayer };