UNPKG

react-native-zalo-kit

Version:
27 lines 692 B
import type { TurboModule } from 'react-native'; export interface IZaloAuthResponse { accessToken: string; refreshToken: string; } export interface IUserProfile { id: string; name: string; phoneNumber: string; gender: string; birthday: string; picture: { data: { url: string; }; }; } export interface Spec extends TurboModule { login(authType: string): Promise<IZaloAuthResponse>; logout(): void; isAuthenticated(): Promise<boolean>; getUserProfile(): Promise<IUserProfile>; getApplicationHashKey(): string; } declare const _default: Spec; export default _default; //# sourceMappingURL=NativeZaloKit.d.ts.map