import { IFetchOptions } from "rdf-test-suite/lib/Util"; import { IDataSource } from './testcase/ldf/IDataSource'; /** * A class with utility functions. */ export declare class LdfUtil { /** * Removes the prefix of a resource. Presuming the prefix ends wih '#' * @param resourceIRI A string representing the IRI of the resource */ static removePrefix(resourceIRI: string): string; /** * Temporarily fetch a file for the query engine * @param folder: The folder where the temporary file should be saved * @param source: The IDataSource representing the source that should be fetched * @param {IFetchOptions} options Options for fetching. */ static fetchFile(folder: string, source: IDataSource, options?: IFetchOptions): Promise; }