import { HttpService } from '../../http/http.service'; import { GraphNavigatorSettingsResponse } from './response/graph-navigator-settings-response'; /** * Service for interacting with the graph-navigator REST API */ export declare class GraphNavigatorRestService extends HttpService { /** * Loads the graph-navigator settings of a repository. * * @param repositoryId - The id of the repository. * @returns A Promise that resolves to the current settings. */ getSettings(repositoryId: string): Promise; /** * Uploads a Turtle settings file for a repository. * * @param repositoryId - The id of the repository. * @param file - The Turtle settings file. * @returns A Promise that resolves to the new settings. */ uploadSettings(repositoryId: string, file: File): Promise; /** * Deletes the graph-navigator settings of a repository, so the defaults are used. * * @param repositoryId - The id of the repository. */ deleteSettings(repositoryId: string): Promise; /** * Exports the graph-navigator settings of a repository as Turtle. * * @param repositoryId - The id of the repository. * @returns A Promise that resolves to the settings as Turtle text. */ exportSettings(repositoryId: string): Promise; private getSettingsEndpoint; }