import React from "react";
import { IServerVersions, Capabilities, IClientWellKnown, OidcClientConfig, MatrixClient } from "matrix-js-sdk/src/matrix";
interface IProps {
    onShowQr: () => void;
    versions?: IServerVersions;
    capabilities?: Capabilities;
    wellKnown?: IClientWellKnown;
    oidcClientConfig?: OidcClientConfig;
    isCrossSigningReady?: boolean;
}
export declare function shouldShowQr(cli: MatrixClient, isCrossSigningReady: boolean, oidcClientConfig?: OidcClientConfig, versions?: IServerVersions, wellKnown?: IClientWellKnown): boolean;
declare const LoginWithQRSection: React.FC<IProps>;
export default LoginWithQRSection;
