import { OnInit, ElementRef, SimpleChanges, OnChanges, DoCheck } from '@angular/core'; import { NgControl } from '@angular/forms'; import { CountryCode } from './data/country-code'; import { Country } from './model/country.model'; import { SearchCountryField } from './enums/search-country-field.enum'; import { TooltipLabel } from './enums/tooltip-label.enum'; import { CountryISO } from './enums/country-iso.enum'; import { MatFormFieldControl } from '@angular/material'; import { Subject } from 'rxjs/index'; import { FocusMonitor } from '@angular/cdk/a11y'; export declare class NgxIntlTelInputComponent implements OnInit, OnChanges, DoCheck, MatFormFieldControl { private countryCodeData; private fm; private elRef; ngControl: NgControl; static nextId: number; value: string; preferredCountries: Array; enablePlaceholder: boolean; cssClass: string; onlyCountries: Array; enableAutoCountrySelect: boolean; searchCountryFlag: boolean; searchCountryField: SearchCountryField[]; searchCountryPlaceholder: string; maxLength: string; tooltipField: TooltipLabel; selectFirstCountry: boolean; selectedCountryISO: CountryISO; phoneValidation: boolean; private _required; private _placeholder; stateChanges: Subject; selectedCountry: Country; separateDialCode: boolean; separateDialCodeClass: string; focused: boolean; id: string; describedBy: string; phoneNumber: string; errorState: boolean; allCountries: Array; preferredCountriesInDropDown: Array; phoneUtil: any; disabled: boolean; errors: Array; countrySearchText: string; countryList: ElementRef; onTouched: () => void; propagateChange: (_: any) => void; constructor(countryCodeData: CountryCode, fm: FocusMonitor, elRef: ElementRef, ngControl: NgControl); ngOnInit(): void; ngDoCheck(): void; ngOnChanges(changes: SimpleChanges): void; getPreferredCountries(): void; getSelectedCountry(): void; /** * Search country based on country name, iso2, dialCode or all of them. */ searchCountry(): void; onPhoneNumberChange(): void; onCountrySelect(country: Country, el: any): void; onInputKeyPress(event: KeyboardEvent): void; protected fetchCountryData(): void; protected getPhoneNumberPlaceHolder(countryCode: string): string; registerOnChange(fn: any): void; registerOnTouched(fn: any): void; setDisabledState(isDisabled: boolean): void; writeValue(obj: any): void; private getCountryIsoCode; separateDialCodePlaceHolder(placeholder: string): string; private removeDialCode; private checkSeparateDialCodeStyle; readonly shouldLabelFloat: boolean; placeholder: string; setDescribedByIds(ids: string[]): void; onContainerClick(event: MouseEvent): void; readonly empty: boolean; required: boolean; }