import { ControlValueAccessor } from '@angular/forms'; export declare type TagModel = string | { [key: string]: any; }; export declare function isObject(obj: any): boolean; export declare class TagInputAccessor implements ControlValueAccessor { private _items; private _onTouchedCallback; private _onChangeCallback; /** * @name displayBy * @type {string} */ displayBy: string; /** * @name identifyBy * @type {string} */ identifyBy: string; items: TagModel[]; onTouched(): void; writeValue(items: any[]): void; registerOnChange(fn: any): void; registerOnTouched(fn: any): void; /** * @name getItemValue * @param item * @return {TagModel} */ getItemValue(item: TagModel): string; /** * @name getItemDisplay * @param item * @return {TagModel} */ getItemDisplay(item: TagModel): string; /** * @name getItemsWithout * @param index * @return {TagModel[]} */ protected getItemsWithout(index: number): TagModel[]; }