import { IIndexPattern } from 'src/index_patterns/types'; import { KueryNode } from '../types'; export declare function buildNodeParams(fieldName: string, value: any, isPhrase?: boolean): { arguments: KueryNode[]; }; export declare function toOpenSearchQuery(node: KueryNode, indexPattern?: IIndexPattern, config?: Record, context?: Record): { query_string: { query: string; }; multi_match?: undefined; match_all?: undefined; bool?: undefined; } | { multi_match: { type: string; query: import("../../../type").JsonObject | undefined; lenient: boolean; }; query_string?: undefined; match_all?: undefined; bool?: undefined; } | { match_all: {}; query_string?: undefined; multi_match?: undefined; bool?: undefined; } | { bool: { should: any[]; minimum_should_match: number; }; query_string?: undefined; multi_match?: undefined; match_all?: undefined; };