rn-sid-address-verification
Version:
A SourceID address verification package for react native
19 lines • 738 B
TypeScript
export type ResolvedAddress = {
latitude: number;
longitude: number;
fullAddress: string;
country?: string;
state?: string;
city?: string;
postalCode?: string;
street?: string;
};
export declare function startTrackingWithConfig(apiKey: string, customerID: string, verificationId: string): Promise<boolean>;
export declare function stopTracking(): void;
export declare function fetchConfiguration(apiKey: string, customerID: string, token: string, refreshToken: string): Promise<{
pollingInterval: number;
sessionTimeout: number;
}>;
export declare function pickLocation(): Promise<ResolvedAddress>;
export declare function multiply(a: number, b: number): number;
//# sourceMappingURL=index.d.ts.map