import { default as React } from 'react';
type AppUser = {
    token: string;
    refreshToken?: string;
    xmppUsername: string;
    xmppPassword: string;
    firstName?: string;
    email?: string;
    _id?: string;
};
type LoginPayload = {
    mode: 'jwt';
    jwt: string;
} | {
    mode: 'email';
    user: AppUser;
    appToken: string;
};
export declare const LoginScreen: React.FC<{
    onSubmit: (p: LoginPayload) => void;
}>;
export declare const JwtOnlyScreen: React.FC<{
    onSubmit: (p: LoginPayload) => void;
}>;
export default function AppLoginChatsNpm(): import("react/jsx-runtime").JSX.Element;
export {};
