import { OnChanges, OnInit, SimpleChanges } from '@angular/core'; import { AbstractControl, ValidationErrors, Validator } from '@angular/forms'; import { CountryCode } from 'libphonenumber-js'; import * as i0 from "@angular/core"; export declare class PhoneValidator implements Validator, OnInit, OnChanges { phone: CountryCode | undefined; private validator; private onChange; ngOnInit(): void; ngOnChanges(changes: SimpleChanges): void; validate(c: AbstractControl): ValidationErrors | null; registerOnValidatorChange(fn: () => void): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; }