import * as mongoDB from "mongodb";
import { ICountryIPDetailService, IPDetailResponse } from "./ICountryIPDetailService";
export declare class CountryIPDetailService implements ICountryIPDetailService {
    private getIPApiUrl;
    private countryCodeRegionCollection;
    private ipAddressUserCollection;
    init(getIPApiUrl: string, countryCodeRegionCollection: mongoDB.Collection, ipAddressUserCollection: mongoDB.Collection): void;
    private getIPAddressKeyInDb;
    getIPDetailResponse(ipAddress: string): Promise<IPDetailResponse>;
    updateUserIP(userId: string, ipAddress: string, oldCountryCode: string, oldRegionCode: string, newCountryCode: string, newRegionCode: string): Promise<void>;
}
