import { BuiltInControlValueAccessor, ControlValueAccessor } from './control_value_accessor'; import * as i0 from "@angular/core"; /** * @description * The `ControlValueAccessor` for writing a number value and listening to number input changes. * The value accessor is used by the `FormControlDirective`, `FormControlName`, and `NgModel` * directives. * * @usageNotes * * ### Using a number input with a reactive form. * * The following example shows how to use a number input with a reactive form. * * ```ts * const totalCountControl = new FormControl(); * ``` * * ``` * * ``` * * @ngModule ReactiveFormsModule * @ngModule FormsModule * @publicApi */ export declare class NumberValueAccessor extends BuiltInControlValueAccessor implements ControlValueAccessor { /** * Sets the "value" property on the input element. * @nodoc */ writeValue(value: number): void; /** * Registers a function called when the control value changes. * @nodoc */ registerOnChange(fn: (_: number | null) => void): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } declare const NumberValueAccessor_Listeners:["input","blur"]; declare const NumberValueAccessor_Properties:[];