import { n as RenameId } from "./types-laoxoA5P.js";
import { n as User } from "./user.types-BcSU0sts.js";
import { u as Project } from "./project.types-DzF_1upP.js";
import { Document, Model, ObjectIdToString, Types } from "mongoose";
import { ContentNode, Dictionary } from "@intlayer/types/dictionary";

//#region src/types/dictionary.types.d.ts
type DictionaryCreationData = {
  projectIds: (Project['id'] | string)[];
  key: string;
  content?: ContentNode;
  title?: string;
  description?: string;
  priority?: number;
  importMode?: 'static' | 'dynamic' | 'fetch';
  tags?: string[];
};
type VersionedContentEl = {
  name?: string;
  description?: string;
  content: ContentNode;
};
type ContentVersion = string;
type VersionedContent = Map<string, VersionedContentEl>;
type DictionaryData = {
  key: string;
  content: VersionedContent;
  projectIds: (Project['id'] | string)[];
  creatorId: User['id'];
  title?: string;
  description?: string;
  priority?: number;
  importMode?: 'static' | 'dynamic' | 'fetch';
  tags?: string[];
};
type Dictionary$1 = DictionaryData & {
  id: Types.ObjectId;
  createdAt: number;
  updatedAt: number;
};
type DictionaryAPI = ObjectIdToString<Dictionary & {
  projectIds: (Project['id'] | string)[];
  updatedAt: number;
  createdAt: number;
}>;
type DictionarySchema = RenameId<Dictionary$1>;
type DictionaryModelType = Model<Dictionary$1>;
type DictionaryDocument = Document<unknown, {}, Dictionary$1> & Dictionary$1;
//#endregion
export { DictionaryData as a, DictionarySchema as c, DictionaryCreationData as i, VersionedContent as l, Dictionary$1 as n, DictionaryDocument as o, DictionaryAPI as r, DictionaryModelType as s, ContentVersion as t, VersionedContentEl as u };
//# sourceMappingURL=dictionary.types-D2UBLKDw.d.ts.map