import React from "react";
import { RoomMember } from "matrix-js-sdk/src/matrix";
interface IProps {
    url: string;
    creatorUserId: string;
    roomId: string;
    onPermissionGranted: () => void;
    isRoomEncrypted?: boolean;
}
interface IState {
    roomMember: RoomMember | null;
    isWrapped: boolean;
    widgetDomain: string | null;
}
export default class AppPermission extends React.Component<IProps, IState> {
    static defaultProps: Partial<IProps>;
    constructor(props: IProps);
    private parseWidgetUrl;
    render(): React.ReactNode;
}
export {};
