import React from 'react';
export type LoginModalProps = {
    /**
     * Email value.
     */
    email: string;
    /**
     * SState to show different text on failure to find person..
     */
    hasFailed: boolean;
    /**
     * Submit function for checking for user and logging in.
     */
    onSubmit?: (e: {
        preventDefault: () => void;
    }) => void;
    /**
     * Function to reset email, password, and failed to try log in a gain.
     */
    onTryAgain?: () => void;
    /**
     * Password value
     */
    password: string;
    /**
     * State management for email.
     */
    setEmail: React.Dispatch<React.SetStateAction<string>>;
    /**
     * State management for password.
     */
    setPassword: React.Dispatch<React.SetStateAction<string>>;
};
export declare function LoginModal({ onSubmit, onTryAgain, email, password, setEmail, setPassword, hasFailed: failed, ...props }: LoginModalProps): JSX.Element;
