import React from "react";
export declare function validateEmail(email: string): boolean;
/**
 * A Input based wrapper to handle inputs of email
 **/
/**
 * An email input field that validates the email format and shows error messages when the email is invalid.
 **/
declare const EmailInput: React.ForwardRefExoticComponent<Omit<Omit<{
    decoration?: React.ReactElement<unknown, string | React.JSXElementConstructor<any>> | null | undefined;
    error?: string | React.ReactElement<unknown, string | React.JSXElementConstructor<any>> | undefined;
    hideError?: "onfocus" | undefined;
    placeholder?: string | undefined;
    disclaimer?: string | React.ReactElement<unknown, string | React.JSXElementConstructor<any>> | undefined;
    multiline?: number | undefined;
    icon?: ({
        onClick?: (() => void) | undefined;
    } & React.ClassAttributes<any> & React.ImgHTMLAttributes<HTMLImageElement>) | undefined;
    Icon?: React.ReactElement<unknown, string | React.JSXElementConstructor<any>> | undefined;
    onChange?: React.ChangeEventHandler<HTMLInputElement | HTMLTextAreaElement> | undefined;
    containerProps?: Omit<React.HTMLProps<HTMLDivElement>, "ref"> | undefined;
    value?: string | undefined;
    "data-testid"?: string | undefined;
} & Omit<React.HTMLProps<HTMLInputElement | HTMLTextAreaElement>, "ref" | "value" | "onChange"> & React.RefAttributes<any>, "value" | "onChange"> & {
    onChange: (email: string, isValid: boolean) => void;
    value: string;
    messages: {
        invalidEmail: string;
    };
}, "ref"> & React.RefAttributes<{
    validateEmail: (email: string) => boolean;
}>>;
export default EmailInput;
