UNPKG

matrix-react-sdk

Version:
15 lines (14 loc) 497 B
import { MatrixClient } from "matrix-js-sdk/src/matrix"; /** * Auxiliary class to listen for dialog opening over the dispatcher and * open the required dialogs. Not all dialogs run through here, but the * ones which cause import cycles are good candidates. */ export declare class DialogOpener { static readonly instance: DialogOpener; private isRegistered; private matrixClient?; private constructor(); prepare(matrixClient: MatrixClient): void; private onDispatch; }