import type { Quad } from '@rdfjs/types'; import type { AskQuery, ConstructQuery, SelectQuery, Update } from 'sparqljs'; import type { QueryExecutor, SelectVariableQueryResult } from './SparqlQueryExecutor'; export interface SparqlEndpointQueryExecutorOptions { /** * The location of the SPARQL endpoint. This value is required. */ readonly endpointUrl: string; /** * The location of the SPARQL update endpoint. Defaults to the value of endpointUrl if not set. */ readonly updateUrl?: string; } export declare class SparqlEndpointQueryExecutor implements QueryExecutor { private readonly sparqlClient; private readonly sparqlGenerator; private readonly logger; constructor(options: SparqlEndpointQueryExecutorOptions); executeSparqlSelectAndGetData | Quad = TQuery extends SelectQuery ? SelectVariableQueryResult : Quad>(query: TQuery): Promise; executeSparqlSelectAndGetDataRaw = Quad>(query: string): Promise; executeSparqlConstructAndGetDataRaw(query: string): Promise; executeSparqlUpdate(query: Update): Promise; executeRawSparqlUpdate(query: string): Promise; executeAskQueryAndGetResponse(query: AskQuery): Promise; executeSelectCountAndGetResponse(query: SelectQuery): Promise; } //# sourceMappingURL=SparqlEndpointQueryExecutor.d.ts.map