/// import * as vscode from 'vscode'; import * as projectmanager from './ProjectManager'; import * as fs from 'fs'; /** * @interface HttpProjectManager * * @description HTTP project manager client class let handling of an Edge.AI project data model stored remotly */ export declare class HttpProjectManager extends projectmanager.IProjectManager { backendBaseUrl: vscode.Uri; private __project; set _project(value: any); get _project(): any; protected _parsedProject: projectmanager.Project | undefined; get project(): projectmanager.Project; protected _onDidChangeProject: vscode.EventEmitter; onDidChangeProject: vscode.Event; private _jwtToken; get jwtToken(): string; set jwtToken(value: string); constructor(backendBaseUrl: vscode.Uri); /** * Inerithed methods */ connect(projectName: string): Promise; load(): Promise; updateModel(modelId: string, name: string, stage: projectmanager.ModelStage | undefined, modelMetadata: any | undefined): Promise; /** * @description Not implemented */ newProject(projectId: string | undefined, name: string, description: string, owner: string, version: string): void; /** * @description Not implemented */ addModel(modelId: string, inputId: string, outputId: string, name: string, stage: projectmanager.ModelStage, inputType: projectmanager.InputType, modelType: projectmanager.ModelType, outputType: projectmanager.OutputType, trainingType: projectmanager.TrainingType, modelMetadata: any, inputTools: projectmanager.Tool[], outputTools: projectmanager.Tool[]): void; /** * @description Not implemented */ removeModel(modelId: string): void; /** * @description Not implemented */ addExperiment(modelId: string, experimentId: string, name: string, description: string, modelDevFile: String | null): void; /** * @description Not implemented */ updateExperiment(modelId: string, id: string, description: String, modelDevFile: String | null): void; /** * @description Not implemented */ removeExperiment(modelId: string, experimentId: string): void; /** * @description Not implemented */ addTest(modelId: string, experimentId: string, testId: string | undefined, name: string, modelFile: string | null): void; /** * @description Not implemented */ updateTest(modelId: string, testId: string, parameters: any, reports: string[] | undefined, outputs: string[] | undefined): void; /** * @description Not implemented */ removeTest(modelId: string, experimentId: string, testId: string): void; /** * Additional methods */ /** * @name getProjects * @description List remote user projects * * @returns Projects descriptors */ getProjects(): Promise>; /** * @name getProject * @description Get remote user project * * @param projectName Project name to retrieve * @returns Projects descriptor */ getProject(projectName: string): Promise; /** * @name uploadLog * @description Upload acquisition zip folder for a model * * @param modelName Unique model name * @param logId Project name to retrieve * @param zipLog Project name to retrieve * @returns Projects descriptor */ uploadLog(modelName: string, logId: string, zipLog: vscode.Uri): Promise; /** * @name downloadTestOutput * @description Download a test output * * @param modelName Model name * @param experimentName Experiment name * @param testName Test name * @param outputName Output name * @param outputStream Readable stream of output file */ downloadTestOutput(modelName: string, experimentName: string, testName: string, outputName: string, outputStream: fs.WriteStream): Promise; }