import type { AsyncIterator } from 'asynciterator'; import type { Quad, Term, Variable } from '@rdfjs/types'; import type { SparqlEngine, SparqlQueryOptions, SparqlVoidOptions } from '../sparql/SubgraphQueryEngine'; import type { RdfAccessScope } from './RdfAccessScope'; import type { RdfEngineLike } from './types'; type QleverBindingsStream = AsyncIterator & { metadata(): Promise<{ variables: Variable[]; }>; }; /** * Thin CSS SparqlEngine adapter over the shared native QLever envelope. * * It performs product-boundary validation and result decoding only. It has no * alternate evaluator, planner, update compiler, or secondary execution path. */ export declare class QleverSparqlEngine implements SparqlEngine { private readonly rdfEngine; constructor(rdfEngine: RdfEngineLike); queryBindings(query: string, basePath: string, accessScope?: RdfAccessScope, options?: SparqlQueryOptions): Promise; queryBoolean(query: string, basePath: string, accessScope?: RdfAccessScope, options?: SparqlQueryOptions): Promise; queryQuads(query: string, basePath: string, accessScope?: RdfAccessScope, options?: SparqlQueryOptions): Promise>; queryVoid(_query: string, _basePath: string, _accessScope?: RdfAccessScope, _options?: SparqlVoidOptions): Promise; constructGraph(graph: string, basePath: string, accessScope?: RdfAccessScope): Promise>; listGraphs(basePath: string, accessScope?: RdfAccessScope): Promise>; close(): Promise; private execute; } declare class QleverBindings extends Map { private readonly byName; constructor(entries: [Variable, Term][]); get(key: string | Variable): Term | undefined; has(key: string | Variable): boolean; } export {};