import mongoose from "mongoose"; import { Entity } from "../../entities/entity.schema"; declare const NOT_SUPPORT_FULL_TEXT_SEARCH_ENTITY: RegExp; declare const MIN_LENGTH_SEARCH_TEXT = 2; declare const MAX_LENGTH_SEARCH_TEXT = 12; declare const MONGO_OBJECT_ID_REGEX: RegExp; declare const checkAllowAddSearchText: (entity: any) => any; declare const checkAllowSearchEncrypt: (entity: Entity) => boolean; declare const isMongoObjectId: (str: string) => boolean; declare const getSearchEncryptIndex: (entity: Entity, data: any) => string[]; declare const getSearchTextIndexObject: (entity: any, data: any) => Promise<{ id: string | undefined; textTerm: string; oldSelfTextTerm: string; }[]>; declare const saveModelSearchText: (model: mongoose.Model, textTerm: { id: string | undefined; textTerm: string; oldSelfTextTerm: string[]; newSelfTextTerm: string[]; }[]) => Promise; declare const normalizeSearchTerm: (term: string) => string; declare const buildExactMatchKeyword: (keywords: string) => string; declare const modifyKeywords: (keywords: string) => string; declare const lockSyncTermText: (name: string) => Promise; declare const unlockSyncTermText: (name: string) => Promise; export { NOT_SUPPORT_FULL_TEXT_SEARCH_ENTITY, MIN_LENGTH_SEARCH_TEXT, MAX_LENGTH_SEARCH_TEXT, checkAllowAddSearchText, checkAllowSearchEncrypt, MONGO_OBJECT_ID_REGEX, isMongoObjectId, modifyKeywords, buildExactMatchKeyword, lockSyncTermText, unlockSyncTermText, normalizeSearchTerm, saveModelSearchText, getSearchTextIndexObject, getSearchEncryptIndex };