rn-sid-address-verification
Version:
A SourceID address verification package for react native
26 lines • 969 B
TypeScript
import type { TurboModule } from 'react-native';
import type { Double } from 'react-native/Libraries/Types/CodegenTypes';
export interface Spec extends TurboModule {
multiply(a: number, b: number): number;
startTrackingWithConfig(apiKey: string, customerID: string, verificationId: string): Promise<boolean>;
stopTracking(): void;
fetchConfiguration(apiKey: string, customerID: string, token: string, refreshToken: string): Promise<{
pollingInterval: Double;
sessionTimeout: Double;
}>;
pickLocation(): Promise<{
latitude: Double;
longitude: Double;
fullAddress: string;
country?: string;
state?: string;
city?: string;
postalCode?: string;
street?: string;
}>;
addListener(eventName: string): void;
removeListeners(count: Double): void;
}
declare const _default: Spec;
export default _default;
//# sourceMappingURL=NativeSIDAddressVerification.d.ts.map