/** * Get User By Email DTO * * Request DTO for retrieving a user by email address. * * Security: * - Email format validated * - Max length enforced * * @example * ```typescript * const user = await authService.getUserByEmail({ * email: 'user@example.com', * requireEmailVerified: true * }); * ``` */ /** * Request DTO for getting user by email */ export declare class GetUserByEmailDTO { /** * Email address to search for * * Validation: * - Must be a valid email format * - Max 255 characters (matches DB constraint) * * Sanitization: * - Trimmed * - Lowercased for consistency * * @example "user@example.com" */ email: string; /** * Only return user if email is verified * * Validation: * - Must be a boolean if present * - Default: false * * @example true */ requireEmailVerified?: boolean; } //# sourceMappingURL=get-user-by-email.dto.d.ts.map