'use client';

import { FieldProps } from './shared';
export interface EmailFieldProps extends FieldProps<string> {
    /**
     * Whether to show domain suggestions
     */
    showSuggestions?: boolean;
    /**
     * Whether to validate email format
     */
    validateFormat?: boolean;
    /**
     * Whether to validate domain
     */
    validateDomain?: boolean;
    /**
     * Custom allowed domains (for organization restrictions)
     */
    allowedDomains?: string[];
    /**
     * Custom blocked domains
     */
    blockedDomains?: string[];
    /**
     * Field variant
     */
    variant?: 'flat' | 'bordered' | 'underlined' | 'faded';
    /**
     * Custom className
     */
    className?: string;
    /**
     * Auto focus
     */
    autoFocus?: boolean;
    /**
     * Auto complete
     */
    autoComplete?: string;
    /**
     * Custom validation error
     */
    error?: string | string[];
    /**
     * Help text
     */
    description?: string;
    /**
     * Whether to show verification status
     */
    showVerificationStatus?: boolean;
    /**
     * Whether email is verified
     */
    isVerified?: boolean;
    /**
     * Verification handler
     */
    onRequestVerification?: () => void;
}
export interface EmailValidation {
    isValid: boolean;
    errors: string[];
    suggestions: string[];
    domain: string | null;
    username: string | null;
}
export declare function EmailField({ name, label, placeholder, value, onChange, onBlur, onFocus, required, disabled, showSuggestions, validateFormat, validateDomain, allowedDomains, blockedDomains, size, radius, variant, className, autoFocus, autoComplete, error: externalError, description, showVerificationStatus, isVerified, onRequestVerification, startContent, endContent, }: EmailFieldProps): import("react/jsx-runtime").JSX.Element;
export default EmailField;
//# sourceMappingURL=email-field.d.ts.map