import { EncryptionEventContent } from "../models/events/EncryptionEvent" ; category export interface ICryptoStorageProvider { param { string } deviceId returns { Promise < void > } setDeviceId ( deviceId ) : Promise < void > ; returns { Promise < string > } getDeviceId ( ) : Promise < string > ; param { string } roomId param { Partial < EncryptionEventContent > } config returns { Promise < void > } storeRoom ( roomId , config ) : Promise < void > ; param { string } roomId returns { Promise < Partial < EncryptionEventContent > > } getRoom ( roomId ) : Promise < Partial < EncryptionEventContent > > ; }