import { AbstractControl, ValidationErrors, Validator } from '@angular/forms';
import * as i0 from "@angular/core";
export declare class IsEqualToDirective implements Validator {
    set equalTo(value: any);
    private _onChange;
    private _equalTo;
    validate(control: AbstractControl): ValidationErrors | null;
    /**
     * @description
     * Registers a callback function to call when the validator inputs change.
     *
     * @param fn The callback function
     */
    registerOnValidatorChange(fn: () => void): void;
    static ɵfac: i0.ɵɵFactoryDeclaration<IsEqualToDirective, never>;
    static ɵdir: i0.ɵɵDirectiveDeclaration<IsEqualToDirective, "[rxapIsEqualTo]", never, { "equalTo": { "alias": "rxapIsEqualTo"; "required": true; }; }, {}, never, never, true, never>;
}
