interface FileServerPairingAuthorisation { primaryDevicePubKey: string; secondaryDevicePubKey: string; requestSignature: string; // base64 grantSignature: string; // base64 } interface DeviceMappingAnnotation { isPrimary: string; authorisations: Array; } interface LokiFileServerInstance { getUserDeviceMapping(pubKey: string): Promise; clearOurDeviceMappingAnnotations(): Promise; }