import { Client } from '@elastic/elasticsearch'; import { ElasticQuery } from './query'; export declare class Elastic extends ElasticQuery { client: Client; constructor(); addDocument({ index, id, body }: { index: string; id: string; body: any; }): Promise; updateDocument({ index, id, body }: { index: string; id: string; body: any; }): Promise>; deleteDocument({ index, id }: { index: string; id: string; }): Promise; searchQuery(data: any): Promise; count({ index, body }: { index: string; body: any; }): Promise; aggregate({ index, body }: { index: string; body: any; }): Promise>>; } //# sourceMappingURL=index.d.ts.map