import { C as Except, d as DefaultRuleGroupTypeIC, f as RuleGroupTypeAny, g as DefaultRuleGroupType, v as RuleType } from "./basic-Dxm6jWFu.js";
import { d as RQBJsonLogic } from "./export-6VbkhCrf.js";
import { t as ParserCommonOptions } from "./import-D8M7awTx.js";

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

/**
* Options object for {@link parseJsonLogic}.
*/
interface ParseJsonLogicOptions extends ParserCommonOptions {
  jsonLogicOperations?: Record<string, (value: any) => RuleType | RuleGroupTypeAny | false>;
}
/**
* Converts a JsonLogic object into a query suitable for the
* {@link index!QueryBuilder QueryBuilder} component's `query` or `defaultQuery` props
* ({@link index!DefaultRuleGroupType DefaultRuleGroupType}).
*/
declare function parseJsonLogic(rqbJsonLogic: string | RQBJsonLogic): DefaultRuleGroupType;
/**
* Converts a JsonLogic object into a query suitable for the
* {@link index!QueryBuilder QueryBuilder} component's `query` or `defaultQuery` props
* ({@link index!DefaultRuleGroupType DefaultRuleGroupType}).
*/
declare function parseJsonLogic(rqbJsonLogic: string | RQBJsonLogic, options: Except<ParseJsonLogicOptions, "independentCombinators"> & {
  independentCombinators?: false;
}): DefaultRuleGroupType;
/**
* Converts a JsonLogic object into a query suitable for the
* {@link index!QueryBuilder QueryBuilder} component's `query` or `defaultQuery` props
* ({@link index!DefaultRuleGroupTypeIC DefaultRuleGroupTypeIC}).
*/
declare function parseJsonLogic(rqbJsonLogic: string | RQBJsonLogic, options: Except<ParseJsonLogicOptions, "independentCombinators"> & {
  independentCombinators: true;
}): DefaultRuleGroupTypeIC;
//#endregion
export { ParseJsonLogicOptions, parseJsonLogic };
//# sourceMappingURL=parseJsonLogic.d.ts.map