import React from "react";
import { ValidatedServerConfig } from "../../../utils/ValidatedServerConfig";
interface IProps {
    title?: string;
    serverConfig: ValidatedServerConfig;
    onFinished(config?: ValidatedServerConfig): void;
}
interface IState {
    defaultChosen: boolean;
    otherHomeserver: string;
}
export default class ServerPickerDialog extends React.PureComponent<IProps, IState> {
    private readonly defaultServer;
    private readonly fieldRef;
    private validatedConf?;
    constructor(props: IProps);
    private onDefaultChosen;
    private onOtherChosen;
    private onHomeserverChange;
    private validate;
    private onHomeserverValidate;
    private onSubmit;
    render(): React.ReactNode;
}
export {};
