//#region src/utils/validation/validateArray.d.ts
type ElementType = 'string' | 'number' | 'boolean' | 'object' | 'array';
type ElementValidator<T> = (value: T) => boolean | string[];
/**
 * Validates a email field.
 * @param value The value to validate.
 * @param entityName The name of the entity being validated.
 * @param minLength The minimum length of the string.
 * @param maxLength The maximum length of the string.
 * @returns An array of validation errors.
 */
declare const validateArray: <T = unknown>(value: T[], entityName?: string, elementType?: ElementType, elementValidator?: ElementValidator<T>, minLength?: number, maxLength?: any) => string[];
//#endregion
export { validateArray };
//# sourceMappingURL=validateArray.d.ts.map