import { ControlValueAccessor } from '@angular/forms'; import * as i0 from '@angular/core'; /** * Bridges any modyra renderer into classic Reactive Forms / * `ngModel` — incremental adoption in existing codebases without an * ``: * * ```html *
* * * ``` * * The directive provides a private single-field adapter on the element (the * renderer resolves it instead of a surrounding ``) and implements * `ControlValueAccessor` on top of it: `writeValue` → field value, * user edits → `onChange`, first blur → `onTouched`, `setDisabledState` → * field `disabled`. Validation stays in Reactive Forms — bind your own * error display to the `FormControl`, or mirror errors into the renderer * with `aria-*` inputs. */ declare class MdyCvaDirective implements ControlValueAccessor { private readonly adapter; private readonly injector; private readonly fieldName; private readonly _disabled; /** True while writeValue applies a model→view update (must not re-emit). */ private _writing; private _onChange; private _onTouched; constructor(); private _state; writeValue(value: unknown): void; registerOnChange(fn: (value: unknown) => void): void; registerOnTouched(fn: () => void): void; setDisabledState(isDisabled: boolean): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } export { MdyCvaDirective }; //# sourceMappingURL=modyra-angular-interop.d.ts.map