/// import { IndicesCreateRequest, MappingProperty, PropertyName, QueryDslQueryContainer } from '@elastic/elasticsearch/api/types'; import { ApiResponse } from '@elastic/elasticsearch/lib/Transport'; import { EventEmitter } from 'events'; import { FilterQuery } from 'mongoose'; import { MongoosasticDocument, MongoosasticModel, SynchronizeOptions } from './types'; export declare function createMapping(this: MongoosasticModel, body: IndicesCreateRequest['body']): Promise>; export declare function synchronize(this: MongoosasticModel, query?: FilterQuery, inOpts?: SynchronizeOptions): EventEmitter; export declare function esTruncate(this: MongoosasticModel): Promise; export declare function refresh(this: MongoosasticModel): Promise; export declare function esCount(this: MongoosasticModel, query: QueryDslQueryContainer): Promise;