import RequestService from '../helpers/request/request-service'; import type { RequestSuccessResponse, RequestErrorResponse } from '../helpers/request/request-service.types'; import * as GeographyV2ApiSpecs from '../generated/geography-v2'; export * as GeographyV2ApiSpecs from '../generated/geography-v2'; export declare class GeographyV2Api { private readonly request; constructor(request: RequestService); getCountries(query?: GeographyV2ApiSpecs.GetCountriesData['query']): Promise | RequestSuccessResponse<200, GeographyV2ApiSpecs.CountryFull[]>>; getCountry(id: GeographyV2ApiSpecs.GetCountryData['path']['id']): Promise | RequestSuccessResponse<200, Required>>; getCountryStates(countryId: GeographyV2ApiSpecs.GetCountryStatesData['path']['country_id'], query?: GeographyV2ApiSpecs.GetCountryStatesData['query']): Promise | RequestSuccessResponse<200, GeographyV2ApiSpecs.CountriesStateFull[]>>; getCountryState(countryId: GeographyV2ApiSpecs.GetCountryStateData['path']['country_id'], id: GeographyV2ApiSpecs.GetCountryStateData['path']['id']): Promise | RequestSuccessResponse<200, Required>>; getCountriesCount(): Promise | RequestSuccessResponse<200, Required>>; getStatesCount(): Promise | RequestSuccessResponse<200, Required>>; getStates(query?: GeographyV2ApiSpecs.GetStatesData['query']): Promise | RequestSuccessResponse<200, GeographyV2ApiSpecs.CountriesStateFull[]>>; getCountryStatesCount(countryId: GeographyV2ApiSpecs.GetCountryStatesCountData['path']['country_id']): Promise | RequestSuccessResponse<200, Required>>; }