import { Project, ProjectAPI } from "../../types/project.types.js";

//#region src/utils/validation/validateProject.d.ts
type ProjectFields = (keyof Project)[];
declare const defaultFieldsToCheck: ProjectFields;
type FieldsToCheck = (typeof defaultFieldsToCheck)[number];
type ValidationErrors = Partial<Record<(typeof defaultFieldsToCheck)[number], string[]>>;
declare const NAME_MIN_LENGTH = 4;
declare const NAME_MAX_LENGTH = 100;
declare const MEMBERS_MIN_LENGTH = 1;
/**
 * Validates a project object.
 * @param project The project object to validate.
 * @param fieldsToCheck The fields to validate.
 * @returns An object containing the validation errors for each field.
 */
declare const validateProject: (project: Partial<Project | ProjectAPI>, fieldsToCheck?: ProjectFields) => Promise<ValidationErrors>;
//#endregion
export { FieldsToCheck, MEMBERS_MIN_LENGTH, NAME_MAX_LENGTH, NAME_MIN_LENGTH, ProjectFields, validateProject };
//# sourceMappingURL=validateProject.d.ts.map