import React from "react";
import { GuestAccess, HistoryVisibility, Room } from "matrix-js-sdk/src/matrix";
import MatrixClientContext from "../../../../../contexts/MatrixClientContext";
interface IProps {
    room: Room;
    closeSettingsFn: () => void;
}
interface IState {
    guestAccess: GuestAccess;
    history: HistoryVisibility;
    hasAliases: boolean;
    encrypted: boolean;
    showAdvancedSection: boolean;
}
export default class SecurityRoomSettingsTab extends React.Component<IProps, IState> {
    static contextType: React.Context<import("matrix-js-sdk/src/client").MatrixClient>;
    context: React.ContextType<typeof MatrixClientContext>;
    constructor(props: IProps, context: React.ContextType<typeof MatrixClientContext>);
    componentDidMount(): void;
    private pullContentPropertyFromEvent;
    componentWillUnmount(): void;
    private onStateEvent;
    private onEncryptionChange;
    private onGuestAccessChange;
    private createNewRoom;
    private onHistoryRadioToggle;
    private updateBlacklistDevicesFlag;
    private hasAliases;
    private renderJoinRule;
    private onJoinRuleChangeError;
    private onBeforeJoinRuleChange;
    private renderHistory;
    private toggleAdvancedSection;
    private renderAdvanced;
    render(): React.ReactNode;
}
export {};
