import { ApiResponse } from '@elastic/elasticsearch'; import { IndexMethodOptions, MongoosasticDocument } from './types'; export declare function index(this: MongoosasticDocument, inOpts?: IndexMethodOptions): Promise; export declare function unIndex(this: MongoosasticDocument): Promise;