import type { NegativeTest } from './generators.js'; export interface algebraTestGen { name: string; json: unknown; quads: boolean; sparql: string | undefined; canonicalSparql: string | undefined; } export type AlgebraTestSuite = 'dawg-syntax' | 'sparql-1.1' | 'sparql11-query' | 'sparql12'; /** * Yields algebra-level test cases from the static test fixtures. * Each test provides a SPARQL query, expected algebra JSON, and optionally a canonical SPARQL string. * @param suite - The test suite to iterate. * @param blankToVariable - Whether to use the blank-to-variable fixture variant. * @param getSPARQL - Whether to load the SPARQL and canonical SPARQL strings. */ export declare function sparqlAlgebraTests(suite: AlgebraTestSuite, blankToVariable: boolean, getSPARQL: true): Generator; export declare function sparqlAlgebraTests(suite: AlgebraTestSuite, blankToVariable: boolean, getSPARQL: boolean): Generator; type GenQuery = { query: string; name: string; }; /** * Yields raw SPARQL query strings from the static test fixtures for a given suite. * @param suite - The test suite to iterate. */ export declare function sparqlQueries(suite: AlgebraTestSuite): Generator; export type NegativeAlgebraSuite = 'sparql-1.1-negative' | 'sparql-1.2-negative'; /** * Yields test cases for negative (invalid) algebra-level tests. * Each test provides a SPARQL query that should fail during algebra transformation. * @param suite - The negative test suite to iterate. * @param filter - Optional filter predicate applied to the test file name. */ export declare function sparqlAlgebraNegativeTests(suite: NegativeAlgebraSuite, filter?: (name: string) => boolean): Generator; export {};