export default updateModel; declare namespace updateModel { export { updateOne }; export { updateMany }; export { updateById }; export { updateOneBy }; export { updateManyBy }; export { updateByQuery }; export { findOneAndUpdate }; export { findManyAndUpdate }; } declare function updateOne(query?: {}, updateObj?: {}, projection?: {}, options?: {}): Promise; declare function updateMany(query?: {}, updateObj?: {}, projection?: {}, options?: {}): Promise; declare function updateById(id: any, updateObj?: {}, projection?: {}, options?: {}): Promise; declare function updateOneBy(key: string, value: any, updateObj?: {}, projection?: {}, options?: {}): Promise; declare function updateManyBy(key: string, value: any, updateObj?: {}, projection?: {}, options?: {}): Promise; declare function updateByQuery(esBody?: {}, options?: {}): Promise; declare function findOneAndUpdate(query?: {}, updateObj?: {}, projection?: {}, options?: {}): Promise; declare function findManyAndUpdate(query?: {}, updateObj?: {}, projection?: {}, options?: {}): Promise<{ items: any[]; errors: any[]; hasError: boolean; }>;