import type { QueryDslBoolQuery as BoolQueryConfig } from "@webiny/api-opensearch/types.js";
/**
 * This function will assign a minimum_should_match for the query if conditions are met:
 * * should is an array
 * * it is not empty
 * * minimum_should_match is not already set
 *
 *
 * By the default we set it to 1 as we want at least one OR condition to produce results.
 *
 * Users can modify minimum_should_match value via the body or query modification plugins.
 */
interface Params {
    query: BoolQueryConfig;
    value?: number;
}
export declare const assignMinimumShouldMatchToQuery: ({ query, value }: Params) => void;
export {};
