import { ElementRef, EventEmitter } from '@angular/core'; import { MatChipList } from './chip-list'; export interface MatChipInputEvent { input: HTMLInputElement; value: string; } /** * Directive that adds chip-specific behaviors to an input element inside . * May be placed inside or outside of an . */ export declare class MatChipInput { protected _elementRef: ElementRef; focused: boolean; _chipList: MatChipList; /** Register input for chip list */ chipList: MatChipList; /** * Whether or not the chipEnd event will be emitted when the input is blurred. */ addOnBlur: boolean; _addOnBlur: boolean; /** * The list of key codes that will trigger a chipEnd event. * * Defaults to `[ENTER]`. */ separatorKeyCodes: number[]; /** Emitted when a chip is to be added. */ chipEnd: EventEmitter; placeholder: string; readonly empty: boolean; /** The native input element to which this directive is attached. */ protected _inputElement: HTMLInputElement; constructor(_elementRef: ElementRef); /** Utility method to make host definition/tests more clear. */ _keydown(event?: KeyboardEvent): void; /** Checks to see if the blur should emit the (chipEnd) event. */ _blur(): void; _focus(): void; /** Checks to see if the (chipEnd) event needs to be emitted. */ _emitChipEnd(event?: KeyboardEvent): void; focus(): void; }