import {wix} from './proto-generated'; export interface CurrentUserRole { readonly id: string; readonly name: string; readonly roleType: wix.filesharing.api.v1.permissions.RoleType; } export interface FileSharingClientOptions { readonly authorization: string; readonly fileSharingServerUrl?: string; readonly fetch: any; readonly makeAuthorizationHeaders?: (string) => { [key: string]: string }; }