import type React from 'react'; import type { TextLikeProps } from './types'; export interface EmailInputProps extends TextLikeProps { /** * Accept multiple comma-separated email addresses. */ multiple?: boolean; /** * What type of information to autocomplete in the input. */ autoComplete?: 'off' | 'email'; /** * Minimum length of the email address. */ minLength?: number; /** * Maximum length of the email address. */ maxLength?: number; /** * Regular expression that the email must match. * * Email pattern validation is already built into the browser, so this should only be used to for * instance require that the email address ends with a specific domain. */ pattern?: string; /** * Id of a `` element with a list of predefined values to suggest to the user. */ list?: string; /** * Inject an element into the input field, displayed at the end of the input. * Usually used to display a custom `Icon` or `IconButton`. */ contentAfter?: React.ReactNode; /** * Default value of an uncontrolled input. */ defaultValue?: string; /** * Value of the input. * * Makes the input controlled. */ value?: string; /** * Fires immediately when the input’s value is changed by the user (for example, it fires on every keystroke). */ onChange?: React.ChangeEventHandler; } /** * EmailInput should be used whenever the user needs to enter an email address. * * It looks identical to a TextInput, but provides autocomplete, validation and * a suitable virtual keyboard for mobile. */ export declare const EmailInput: React.ForwardRefExoticComponent>;