import type { CountryCodes } from '../../entities/index.ts'; import type { HttpClientType } from '../httpExternal/omyClient'; export type ApiLocationResponseType = { data?: { ip: string; type: string; hostname: string | null; currency: { code: string; name: string; name_native: string; }; location: { continent: { code: string; name: string; }; country: { area: number; calling_code: string; capital: string; code: CountryCodes; name: string; population: number; population_density: number; languages: [ { code: string; name: string; } ]; tld: string; }; region: { code: string | null; name: string | null; }; city: string; postal: string; latitude: number; longitude: number; language: { code: string; name: string; native: string; }; in_eu: boolean; }; time_zone: { id: string; abbreviation: string; current_time: Date; name: string; offset: number; }; }; }; export declare class UserLocation { private provider; private apiKey; private http; private apiUrl; constructor(provider: { apiUrl: string; apiKey: string; httpClientType: HttpClientType; }); private setHttp; getUserLocation(): Promise<{ location: { countryCode: CountryCodes; country: string; city: string; postal: string; }; currency: string; timezone: string; } | undefined>; }