import { T as DefaultRuleGroupTypeIC, j as DefaultRuleGroupType } from "./index-CX9mehdL.js"; //#region src/utils/parseSPARQL/parseSPARQL.d.ts /** * Options for {@link parseSPARQL}. */ interface ParseSPARQLOptions { independentCombinators?: boolean; } /** * Parses a SPARQL query string into a {@link DefaultRuleGroupType}. * * Accepts a full SPARQL query or a `FILTER` expression. Triple patterns are * consumed but discarded — only FILTER conditions are returned. * * @example * ```ts * // Full query — extracts FILTER conditions only * parseSPARQL('SELECT ?x WHERE { ?x foaf:name ?name . FILTER(?age > 30) }'); * * // Bare FILTER expression wrapped in a stub query * parseSPARQL('?age > 30 && ?name != "Alice"'); * ``` */ declare function parseSPARQL(sparql: string): DefaultRuleGroupType; declare function parseSPARQL(sparql: string, options: Omit & { independentCombinators?: false; }): DefaultRuleGroupType; declare function parseSPARQL(sparql: string, options: Omit & { independentCombinators: true; }): DefaultRuleGroupTypeIC; //#endregion export { type ParseSPARQLOptions, parseSPARQL }; //# sourceMappingURL=parseSPARQL.d.ts.map