import { DestroyRef, ElementRef, EventEmitter, OnInit, QueryList, TemplateRef, ViewContainerRef } from '@angular/core'; import { ControlValueAccessor, FormControl } from '@angular/forms'; import { Overlay } from "@angular/cdk/overlay"; import { AskDropdownDirective } from "../../directives"; import CountryFlagService from "../../../shared/services/country-flag.service"; import { CountryData } from "../../../shared/providers/flag.provider"; import { OverlayComponent } from "../../classes/overlay.component"; import { NgxMaskDirective } from 'ngx-mask'; import * as i0 from "@angular/core"; export declare class PhoneDdiComponent extends OverlayComponent implements OnInit, ControlValueAccessor { private countryFlagService; private destroyRef; disabled: boolean; value: string; useCountryCode: string; disableMask: boolean; inferCountryCodeByNumber: boolean; valueChange: EventEmitter; onChangeFlag: EventEmitter; formControl: FormControl; phoneContainer: ElementRef | undefined; wrapper: ElementRef | undefined; menuContainer: ElementRef | undefined; overlayContent: TemplateRef | undefined; inputMask?: NgxMaskDirective; inputElement?: ElementRef; dropdownList?: QueryList; _selectedFlag?: CountryData; set selectedFlag(item: CountryData | undefined); get selectedFlag(): CountryData | undefined; countryItems: CountryData[]; onChange: (value?: any) => void; onTouch: () => void; protected closed: boolean; set inputValue(value: string); get inputValue(): string; get prefix(): string; protected searchFieldControl: FormControl; protected filteredOptions: any[]; private _destroy; private scrollSub?; constructor(overlay: Overlay, viewContainerRef: ViewContainerRef, countryFlagService: CountryFlagService, destroyRef: DestroyRef); ngOnInit(): void; private loadCountries; private getFullValue; onPaste(event: any): void; handleOptionSelected(item: any): void; display(option: any): string; shouldClose(event: MouseEvent): boolean; afterClosed(): void; handleFlagClick(event?: Event): void; showOptions(): void; hideOptions(): void; onChangePhoneNumber(number: string, removeDdi?: boolean, changeValue?: boolean): void; private normalizePhoneInput; private removeDdiFromNumber; registerOnChange(fn: any): void; registerOnTouched(fn: any): void; writeValue(value: any): void; protected readonly displayFn: (countryFlag: any) => string; protected readonly filterFn: (search: string) => CountryData[]; private initSelectedFlag; private getDefaultCountryFlag; private handleInputChange; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }