UNPKG

358 BTypeScriptView Raw
1declare type FacebookLoginResult = {
2 type: string;
3 token?: string;
4 expires?: number;
5};
6declare type FacebookOptions = {
7 permissions?: string[];
8 behavior?: 'web' | 'native' | 'browser' | 'system';
9};
10export declare function logInWithReadPermissionsAsync(appId: string, options?: FacebookOptions): Promise<FacebookLoginResult>;
11export {};