import { ElementRef } from '@angular/core'; import type { OnDestroy } from '@angular/core'; import type { ControlValueAccessor, ValidationErrors, Validator } from '@angular/forms'; import * as i0 from "@angular/core"; /** * Connects `sy-input` and `sy-phone-input` to Angular forms (ngModel, formControl, formControlName). * sy-input values are strings (arrays for multiselect); sy-phone-input values are PhoneNumberModel. */ export declare class SyValueAccessorDirective implements ControlValueAccessor, Validator, OnDestroy { private readonly _el; private readonly _changeEvent; private _onChange; private _onTouched; private readonly _onChangeEvent; private readonly _onFocusOut; constructor(host: ElementRef); ngOnDestroy(): void; writeValue(value: unknown): void; registerOnChange(fn: (value: unknown) => void): void; registerOnTouched(fn: () => void): void; setDisabledState(isDisabled: boolean): void; validate(): ValidationErrors | null; private _isPhone; private _result; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } /** Spread into `imports` of a standalone component or NgModule. */ export declare const SY_FORMS: readonly [typeof SyValueAccessorDirective];