import { FormControl } from './FormControl'; import { ControlContainer } from '../interfaces/ControlContainer'; import { ChangeDetectorRef, ElementRef, EventEmitter, OnDestroy, OnInit } from '@angular/core'; import { Schema } from 'yup'; import { Subject } from 'rxjs'; export declare class ControlAccessor extends ControlContainer implements OnInit, OnDestroy { protected _externalControl: FormControl; name: string; type: any; label: string; debounce: number; hint: string; maskExpression: any; schema: Schema; clearable: boolean; options: ({ label: any; value: any; disabled?: boolean; color?: string; labelPosition?: string; required?: boolean; })[]; change: EventEmitter<{}>; modelChange: Subject; blur: EventEmitter<{}>; enter: EventEmitter<{}>; focus: EventEmitter<{}>; /** * @description * Tracks the `FormControl` instance bound to the directive. */ control: FormControl; private _control; /** * @description * Returns an array that represents the path from the top-level form to this control. * Each index is the string name of the control on that level. */ readonly path: string[]; readonly showHint: boolean; /** * Value for the control-group. Should equal the value of the selected option if there is * a corresponding option with a matching value. If there is not such a corresponding * option, this value persists to be applied in case a new option is added with a * matching value. */ value: any; /** Whether the control is disabled */ disabled: boolean; /** Whether the control is required */ required: boolean; model: any; /** Selected value for the control. */ private _value; /** Whether the radio group is disabled. */ private _disabled; /** Whether the radio group is required. */ private _required; protected _nativeElement: HTMLElement; readonly _isControlInvalid: boolean; readonly _isFocused: boolean; readonly _shouldFloat: boolean; constructor(_elementRef: ElementRef, _changeDetectorRef: ChangeDetectorRef); ngOnInit(): void; ngOnDestroy(): void; }