import { Organization, OrganizationAPI } from "../../types/organization.types.js";

//#region src/utils/validation/validateOrganization.d.ts
type OrganizationFields = (keyof Organization)[];
declare const defaultFieldsToCheck: OrganizationFields;
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 an organization object.
 * @param organization The organization object to validate.
 * @returns An object containing the validation errors for each field.
 */
declare const validateOrganization: (organization: Partial<Organization | OrganizationAPI>, fieldsToCheck?: OrganizationFields) => ValidationErrors;
//#endregion
export { MEMBERS_MIN_LENGTH, NAME_MAX_LENGTH, NAME_MIN_LENGTH, OrganizationFields, validateOrganization };
//# sourceMappingURL=validateOrganization.d.ts.map