import JitsiConference from '../../JitsiConference'; import Listenable from '../util/Listenable'; export class OlmAdapter extends Listenable { constructor( conference: JitsiConference ); initSessions: () => Promise; // TODO: static isSupported: () => boolean; updateCurrentKey: ( key: Uint8Array | boolean ) => number; clearParticipantSession: ( participant: unknown ) => void; // TODO: clearAllParticipantsSessions: () => void; updateKey: ( key: Uint8Array | boolean ) => Promise; }