import { ObjectID } from 'bson'; import mongoose from 'mongoose'; import { ILocalizedText } from './localized-text'; export interface ITag { _id: ObjectID; type: string; icon?: string; names: ILocalizedText; } export interface ITagDocument extends mongoose.Document, ITag { _id: ObjectID; } declare const tag: any; export default tag; export declare const localizedFields: readonly ["names"]; export declare type ILocalizedFields = typeof localizedFields[number]; export declare type ITagSingleLang = Omit & { [key in ILocalizedFields]?: string; }; //# sourceMappingURL=tag-as-model.d.ts.map