import { SPARQLQuery } from '../types/sparql-types'; import { type SPARQLQueryEngineFactory } from './sparql-engine'; export interface SPARQLExecutorConfig { sources: string[]; fetch?: typeof fetch; logging?: boolean; createQueryEngine?: SPARQLQueryEngineFactory; } type QuerySourceType = 'auto' | 'sparql'; export declare class ComunicaSPARQLExecutor { protected sources: string[]; protected fetchFn: typeof fetch; protected logging: boolean; private createQueryEngine; private engine; constructor(config: SPARQLExecutorConfig); private formatError; private createSourceRef; private createSafeFetch; private initEngine; executeQuery(sparqlQuery: SPARQLQuery): Promise; executeSelect(query: string): Promise; queryBindings(query: string, sourceUrl: string): Promise; private executeSelectInternal; private executeAskInternal; private executeUpdate; invalidateHttpCache(url?: string): Promise; private invalidateCache; private extractBindingKeyName; private convertComunicaTerm; queryContainer(containerUrl: string, customQuery?: SPARQLQuery): Promise; executeQueryWithSource(sparqlQuery: SPARQLQuery, sourceUrl: string, sourceType?: QuerySourceType): Promise; addSource(source: string): void; removeSource(source: string): void; getSources(): string[]; } export declare const SolidSPARQLExecutor: typeof ComunicaSPARQLExecutor; export {}; //# sourceMappingURL=sparql-executor.d.ts.map