import { Observable } from 'rxjs'; import { MainService } from '../main/main.service'; import { SystemConnection } from '../models/system'; import * as i0 from "@angular/core"; /** * system service for drupal * @see BACK_END/admin/structure/services/list/END_POINT/resources for more details */ export declare class SystemService extends MainService { entityType: string; /** * if there is already a token in the browser cookies and it is not expired it will return it * this will fetch a new token before trying to connect * @param refreshToken boolean to force the application to request new token * @return observable of the connect method * the subscription data is an object of SystemConnection interface */ connect(refreshToken?: boolean): Observable; /** * implement get_variable resource * @param variableName the name of the variable * @return the value of the variable */ getVariable(variableName: string): Observable; /** * implement set_variable resource * @param variableName the name of the variable * @param value the value to set for the variable * @return always null, take care of overriding old variables with same name */ setVariable(variableName: string, value: any): Observable; /** * implement del_variable resource * @param variableName variable name to delete * @return null if variable found or not. */ delVariable(variableName: string): Observable; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }