import { ControlValueAccessor } from '@angular/forms'; import { OnDestroy } from '@angular/core'; import { EmojiInput } from '../input/emoji-input.component'; /** * Bridges the EmojiInput with the Angular's form API implementing a ControlValueAccessor */ export declare class EmojiControl implements OnDestroy, ControlValueAccessor { readonly input: EmojiInput; private change$; private blur$; private dispose$; constructor(input: EmojiInput); /** Called by the forms API to write to the view when programmatic changes from model to view are requested */ writeValue(value: any): void; /** Registers a callback function that is called when the control's value changes in the UI */ registerOnChange(fn: (_: any) => void): void; /** Registers a callback function is called by the forms API on initialization to update the form model on blur. */ registerOnTouched(fn: () => void): void; /** * Function that is called by the forms API when the control status changes to or from 'DISABLED'. * Depending on the status, it enables or disables the appropriate DOM element. */ setDisabledState(disabled: boolean): void; ngOnDestroy(): void; }