import * as React from "react";
import { AuthApplicationEnum } from "../index";
export interface AuthMutationVariables {
    emailAddress: string;
    application: AuthApplicationEnum;
    addToMailing?: boolean;
}
export interface AuthSignupEmailSendResult {
    data: {
        authSignupEmailSend: string;
    };
}
export interface AccountEmailAuthProps {
    applicationType: AuthApplicationEnum;
    isNewUser: boolean;
    headerComponent?: JSX.Element;
    signupPath: string;
    loginPath: string;
    onEmailSend(isNewUser: boolean, emailAddress: string): void;
}
export declare type AuthEmailError = "unknown" | "emailexists" | "emailnotfound" | undefined;
export interface AccountEmailAuthState {
    emailAddress: string;
    errorMessage: AuthEmailError;
    hasAgreedToTOS: boolean;
    hasSelectedToAddToNewsletter: boolean;
    hasBlurred: boolean;
}
export declare class AccountEmailAuth extends React.Component<AccountEmailAuthProps, AccountEmailAuthState> {
    constructor(props: AccountEmailAuthProps);
    renderEmailInput(): JSX.Element;
    renderCheckboxes(): JSX.Element;
    renderAuthError(): JSX.Element;
    render(): JSX.Element;
    toggleHasAgreedToTOS: () => void;
    toggleHasSelectedToAddToNewsletter: () => void;
    private handleSubmit;
}
