import { BuiltInControlValueAccessor, ControlValueAccessor } from './control_value_accessor'; import * as i0 from "@angular/core"; /** * @description * The `ControlValueAccessor` for writing a range value and listening to range input changes. * The value accessor is used by the `FormControlDirective`, `FormControlName`, and `NgModel` * directives. * * @usageNotes * * ### Using a range input with a reactive form * * The following example shows how to use a range input with a reactive form. * * ```ts * const ageControl = new FormControl(); * ``` * * ``` * * ``` * * @ngModule ReactiveFormsModule * @ngModule FormsModule * @publicApi */ export declare class RangeValueAccessor extends BuiltInControlValueAccessor implements ControlValueAccessor { /** * Sets the "value" property on the input element. * @nodoc */ writeValue(value: any): 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 RangeValueAccessor_Listeners:["change","input","blur"]; declare const RangeValueAccessor_Properties:[];