import { Tag } from "../../types/tag.types.js";

//#region src/utils/validation/validateTag.d.ts
type TagFields = (keyof Tag)[];
declare const defaultFieldsToCheck: TagFields;
type FieldsToCheck = (typeof defaultFieldsToCheck)[number];
type ValidationErrors = Partial<Record<(typeof defaultFieldsToCheck)[number], string[]>>;
declare const KEY_MIN_LENGTH = 4;
declare const KEY_MAX_LENGTH = 20;
declare const NAME_MIN_LENGTH = 4;
declare const NAME_MAX_LENGTH = 50;
/**
 * Validates a tag object.
 * @param tag The tag object to validate.
 * @returns An object containing the validation errors for each field.
 */
declare const validateTag: (tag: Partial<Tag>, fieldsToCheck?: TagFields) => Promise<ValidationErrors>;
//#endregion
export { FieldsToCheck, KEY_MAX_LENGTH, KEY_MIN_LENGTH, NAME_MAX_LENGTH, NAME_MIN_LENGTH, TagFields, validateTag };
//# sourceMappingURL=validateTag.d.ts.map