import type { ValidatorResult } from '../types.js';
export interface DomainValidationOptions {
    allowedDomains: string[];
}
export declare const validateEmailFormat: (value: string) => ValidatorResult;
export declare const extractEmailDomain: (email: string) => string | null;
export declare const isDomainAllowed: (domain: string, allowedDomains: string[]) => boolean;
/**
 * Validates if an email domain is in the allowed domains list
 * @param value - The email string to validate
 * @param options - Validation options containing allowed domains
 * @returns true if valid, error message if invalid
 */
export declare const validateEmailDomain: (value: string, options: DomainValidationOptions) => ValidatorResult;
export declare const escapeIdForSelector: (id: string) => string;
//# sourceMappingURL=utils.d.ts.map