import React, { ContextType, CSSProperties, MutableRefObject, ReactNode } from "react";
import MatrixClientContext from "../../../contexts/MatrixClientContext";
interface IProps {
    persistentWidgetId: string;
    persistentRoomId: string;
    pointerEvents?: CSSProperties["pointerEvents"];
    movePersistedElement: MutableRefObject<(() => void) | undefined>;
    children?: ReactNode;
}
export default class PersistentApp extends React.Component<IProps> {
    static contextType: React.Context<import("matrix-js-sdk/src/client").MatrixClient>;
    context: ContextType<typeof MatrixClientContext>;
    private room;
    constructor(props: IProps, context: ContextType<typeof MatrixClientContext>);
    render(): JSX.Element | null;
}
export {};
