import { CountryData } from "../providers/flag.provider"; import { HttpClient } from "@angular/common/http"; import { Observable } from "rxjs"; import { TranslateService } from "@ngx-translate/core"; import * as i0 from "@angular/core"; export default class CountryFlagService { private readonly flagUrl; private readonly http; private readonly translateService; private defaultCountryCode; private defaultCountryLanguage; private cacheList; private listCache$?; constructor(flagUrl: string, http: HttpClient, translateService: TranslateService); list: () => Observable; getDefaultCountryFlag(searchData: CountryData[], useCountryCode?: string): CountryData; getCountryDataForFlag(searchData: CountryData[], countryCode: string): CountryData; private getDefaultCountryLanguage; private extractCountryCode; private formatCountryData; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }