import { C as Except, d as DefaultRuleGroupTypeIC, g as DefaultRuleGroupType } from "./basic-Dxm6jWFu.js";
import { t as ParserCommonOptions } from "./import-D8M7awTx.js";

//#region src/utils/parseJSONata/parseJSONata.d.ts

/**
* Options object for {@link parseJSONata}.
*
* Note: `listsAsArrays` is ignored by `parseJSONata`; lists are _always_ arrays.
*/
interface ParseJSONataOptions extends ParserCommonOptions {}
/**
* Converts a JSONata string expression into a query suitable for the
* {@link index!QueryBuilder QueryBuilder} component's `query` or `defaultQuery` props
* ({@link index!DefaultRuleGroupType DefaultRuleGroupType}).
*/
declare function parseJSONata(jsonataInput: string): DefaultRuleGroupType;
/**
* Converts a JSONata string expression into a query suitable for the
* {@link index!QueryBuilder QueryBuilder} component's `query` or `defaultQuery` props
* ({@link index!DefaultRuleGroupType DefaultRuleGroupType}).
*/
declare function parseJSONata(jsonataInput: string, options: Except<ParseJSONataOptions, "independentCombinators"> & {
  independentCombinators?: false;
}): DefaultRuleGroupType;
/**
* Converts a JSONata string expression into a query suitable for the
* {@link index!QueryBuilder QueryBuilder} component's `query` or `defaultQuery` props
* ({@link index!DefaultRuleGroupTypeIC DefaultRuleGroupTypeIC}).
*/
declare function parseJSONata(jsonataInput: string, options: Except<ParseJSONataOptions, "independentCombinators"> & {
  independentCombinators: true;
}): DefaultRuleGroupTypeIC;
//#endregion
export { ParseJSONataOptions, parseJSONata };
//# sourceMappingURL=parseJSONata.d.ts.map