UNPKG

sid-address-verification-react-native

Version:
18 lines 795 B
import type { GooglePlacesResponse, GooglePlaceDetails, LocationPoint } from '../types'; export declare class ApiService { private static instance; private apiKey; private customerID; private constructor(); static getInstance(): ApiService; configure(apiKey: string, customerID: string): void; fetchAddressVerificationConfig(): Promise<{ distanceTolerance: number; geotaggingPollingInterval: number; geotaggingSessionTimeout: number; }>; getPlacesAutocomplete(query: string, googleApiKey: string): Promise<GooglePlacesResponse>; getPlaceDetails(placeId: string, googleApiKey: string): Promise<GooglePlaceDetails>; submitLocationForVerification(location: LocationPoint): Promise<void>; } //# sourceMappingURL=ApiService.d.ts.map