import { OnInit } from '@angular/core'; import { FormControl, ValidationErrors, ValidatorFn } from '@angular/forms'; import { PhoneNumber } from 'libphonenumber-js'; import { BehaviorSubject } from 'rxjs'; import { GalaxyCoreInput } from '../core/core-input.directive'; import { CountryDetailsInterface } from './country-code-list'; import * as i0 from "@angular/core"; export declare class PhoneInputComponent extends GalaxyCoreInput implements OnInit { class: string; set phoneNumber(val: string); get countryCode(): string; rawInputControl: FormControl; nationalPhoneNumber$$: BehaviorSubject; countryDetails$$: BehaviorSubject; countryCodeList: CountryDetailsInterface[]; focused: boolean; label: string; private phoneNumberValidationFunc; ngOnInit(): void; getCountryDetails(countryCode: string): CountryDetailsInterface; setupControl(): void; setupValidators(): ValidatorFn[]; parsePhoneNumber(rawNumber: string): PhoneNumber; handleAsyncValidatorResultsForPhoneInput(results: { validatorResult: ValidationErrors; errorMessage: string; }[]): string[]; collectErrorsAndUpdateRawInputFormControl(errors: ValidationErrors[]): void; /** * Toggles the state of whether to show the input value or the parsed input text * @param state - State of focus */ toggleFocus(state: boolean): void; updateCountryDetails(countryCode: string): void; blurInput(): void; setDisabledState(isDisabled: boolean): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }