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/parseSQL/parseSQL.d.ts

/**
* Options object for {@link parseSQL}.
*/
interface ParseSQLOptions extends ParserCommonOptions {
  paramPrefix?: string;
  params?: any[] | Record<string, any>;
}
/**
* Converts a SQL `SELECT` statement into a query suitable for the
* {@link index!QueryBuilder QueryBuilder} component's `query` or `defaultQuery` props
* ({@link index!DefaultRuleGroupType DefaultRuleGroupType}).
*/
declare function parseSQL(sql: string): DefaultRuleGroupType;
/**
* Converts a SQL `SELECT` statement into a query suitable for the
* {@link index!QueryBuilder QueryBuilder} component's `query` or `defaultQuery` props
* ({@link index!DefaultRuleGroupType DefaultRuleGroupType}).
*/
declare function parseSQL(sql: string, options: Except<ParseSQLOptions, "independentCombinators"> & {
  independentCombinators?: false;
}): DefaultRuleGroupType;
/**
* Converts a SQL `SELECT` statement into a query suitable for the
* {@link index!QueryBuilder QueryBuilder} component's `query` or `defaultQuery` props
* ({@link index!DefaultRuleGroupType DefaultRuleGroupType}).
*/
declare function parseSQL(sql: string, options: Except<ParseSQLOptions, "independentCombinators"> & {
  independentCombinators: true;
}): DefaultRuleGroupTypeIC;
//#endregion
export { ParseSQLOptions, parseSQL };
//# sourceMappingURL=parseSQL.d.ts.map