import { Provider } from '@angular/core'; import { HttpParams, HttpResponse } from '@angular/common/http'; import { Observable } from 'rxjs'; export declare enum AppType { SQL = "sql", BTEQ = "bteq", CUSTOM = "custom" } export interface IApp { app_id?: string; app_type?: AppType; app_code?: string; app_state?: string; collaborators?: IAppPermissions; color?: string; config?: any; cpus?: number; description?: string; dockerImageName?: string; icon?: string; install_time?: string; installed_by?: string; last_updated_by?: string; last_updated_time?: string; memory?: number; name?: string; owners?: IAppPermissions; public?: boolean; results_config?: any; versions?: any; last_version_status?: string; database?: string; system_name?: string; username?: string; password?: string; param_name?: string; ephemeral?: boolean; can_execute?: boolean; web_root?: string; access_url?: string; tag_names?: any[]; exposedPorts?: any[]; system_id?: string; containerPort?: number; favorite?: boolean; } export interface IAppConfiguration { id: string; name?: string; type?: 'text' | 'number' | 'boolean' | 'date'; min?: number | Date; max?: number | Date; required?: boolean; default?: any; } export interface IAppPermissions { users?: string[]; groups?: string[]; } declare const VantageAppService_base: new (...args: any[]) => any; export declare class VantageAppService extends VantageAppService_base { query(params?: HttpParams, response?: Observable>): Observable<{ total: number; data: IApp[]; }>; get(id: string, response?: Observable): Observable; create(body: IApp, response?: Observable): Observable; update(id: string, body: IApp, response?: Observable): Observable; delete(id: string, response?: Observable): Observable; uploadFile(id: string, formData: FormData, response?: Observable>): Observable; } export declare function VANTAGE_APP_PROVIDER_FACTORY(parent: VantageAppService): VantageAppService; export declare const VANTAGE_APP_PROVIDER: Provider; export {};