import type { CommonFormFieldProps, FormFieldProps } from "../FormField";
import type { FocusEvents, HTMLInputBaseProps, KeyboardEvents, MouseEvents, RebuiltInputCommonProps } from "../sharedHelpers/types";
/**
 * @deprecated Use the v2 InputEmail component instead (version={2}).
 */
export type InputEmailLegacyProps = CommonFormFieldProps & Pick<FormFieldProps, "maxLength" | "readonly" | "validations" | "defaultValue">;
export declare const validationMessage = "Please enter a valid email";
export type InputEmailVersion = 1 | 2 | undefined;
/**
 * Experimental version 2 of the InputEmail component.
 * Do not use unless you have talked with Atlantis first.
 */
export interface InputEmailRebuiltProps extends HTMLInputBaseProps, FocusEvents<HTMLInputElement>, KeyboardEvents<HTMLInputElement>, MouseEvents<HTMLInputElement>, Omit<RebuiltInputCommonProps, "showMiniLabel"> {
    /**
     * The current value of the input.
     */
    readonly value?: string;
    /**
     * Custom onChange handler that provides the new value as the first argument.
     */
    readonly onChange?: (newValue: string, event?: React.ChangeEvent<HTMLInputElement>) => void;
    /**
     * @deprecated Use `onKeyDown` or `onKeyUp` instead.
     */
    readonly onEnter?: FormFieldProps["onEnter"];
}
