import { DefineComponent } from 'vue'; import { defaultTextInputTheme, TextInputRenderTheme } from '@wolf-tui/shared'; export interface EmailInputProps { /** * When disabled, user input is ignored. * * @default false */ isDisabled?: boolean; /** * Text to display when input is empty. */ placeholder?: string; /** * Default input value. */ defaultValue?: string; /** * Domains of email providers to autocomplete. * * @default ["aol.com", "gmail.com", "yahoo.com", "hotmail.com", "live.com", "outlook.com", "icloud.com", "hey.com"] */ domains?: string[]; /** * Callback when input value changes. */ onChange?: (value: string) => void; /** * Callback when enter is pressed. First argument is input value. */ onSubmit?: (value: string) => void; } export declare const EmailInput: DefineComponent; export { defaultTextInputTheme as emailInputTheme, type TextInputRenderTheme as EmailInputTheme, }; export type { EmailInputProps as Props, EmailInputProps as IProps }; //# sourceMappingURL=EmailInput.d.ts.map