import { ElasticUtils } from "./utils"; export declare class ElasticQuery extends ElasticUtils { parents: any[]; children: any[]; query: any; parentAdditional: any; sortOrder: any; constructor(); bool(callback: Function): any; should(callback: Function): any; must(callback: Function): any; match(key: string, value: any): this; term(key: string, value: any): this; terms(key: string, value: any): this; search(fields: string, value: any): this; multiMatch(query: string, fields: any): this; range(query: string, fields: any): this; when(status: any, process: Function): this; sort(field: string, type?: string): this; sortDesc(field: string): this; sortDate(field: string, type: string): this; pagination(size: number, from: number): this; get(index: string, _source?: never[]): Promise; } //# sourceMappingURL=query.d.ts.map