import { ElementRef, EventEmitter } from '@angular/core';
import { VdlChipsDefaultOptions } from './chip-default-options';
import { VdlChipList } from './chip-list';
/** Represents an input event on a `vdlChipInput`. */
export interface VdlChipInputEvent {
/** The native `` element that the event is being fired for. */
input: HTMLInputElement;
/** The value of the input. */
value: string;
}
/**
* Directive that adds chip-specific behaviors to an input element inside ``.
* May be placed inside or outside of an ``.
*/
export declare class VdlChipInput {
protected _elementRef: ElementRef;
private _defaultOptions;
/** Whether the control is focused. */
focused: boolean;
_chipList: VdlChipList;
/** Register input for chip list */
chipList: VdlChipList;
/**
* 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;
/**
* The input's placeholder text.
* @deprecated Bind to the `placeholder` attribute directly.
* @deletion-target 7.0.0
*/
placeholder: string;
/** Unique id for the input. */
id: string;
/** Whether the input is empty. */
readonly empty: boolean;
/** The native input element to which this directive is attached. */
protected _inputElement: HTMLInputElement;
constructor(_elementRef: ElementRef, _defaultOptions: VdlChipsDefaultOptions);
/** 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;
_onInput(): void;
/** Focuses the input. */
focus(): void;
}