import { TableService, MessageService, MessageServiceState, UploadService, LoginService } from '@serengeti/serengeti-common'; import { Observable } from 'rxjs'; import { CategoryNode } from '../../category/info/CategoryNode'; import { Configurations } from '../../../Configuration'; export declare class ApplicationService implements TableService { private messageService; private uploadService; private loginService; endPoint: string; state: MessageServiceState; constructor(messageService: MessageService, uploadService: UploadService, loginService: LoginService, config: Configurations); search(filter: string, sortItem: string, sortOrder: string, pageNumber: number, pageSize: number, shared: boolean, selectedCategories?: CategoryNode[]): Observable; list(): Observable; get(id: string): Observable; getVersion(appId: string, id: string): Observable; getEvent(appEventId: string): Observable; getInheritedEvents(appId: string, id: string): Observable; checkAlias(alias: string): Observable; getSetting(): Observable; save(appVersion: any, appId?: string, id?: string, icon?: File): Observable; saveEvent(appId: string, appVersionId: string, id: string, event: any): Observable; saveEventFile(eventId: string, paramId: number, file: any): Observable; saveFile(appId: string, id: string, binaryId: string, file: any, artifactId?: string): Observable; loadFile(appId: string, id: string, binary: { id: string; }, artifact: { id: string; contentType: string; }): Observable; saveIcon(appId: string, id: string, fileElement: HTMLInputElement): Observable; loadIcon(appId: string, id: string): Observable; export(selectedApps: any[]): Observable>; import(json: File): Observable; delete(appId: string, id?: string): Observable; }