/********************************************************************** * Copyright (c) 2022-2024 * * This program and the accompanying materials are made * available under the terms of the Eclipse Public License 2.0 * which is available at https://www.eclipse.org/legal/epl-2.0/ * * SPDX-License-Identifier: EPL-2.0 ***********************************************************************/ import * as axios from 'axios'; import { DevfileContext } from './api/devfile-context'; export declare const DEVWORKSPACE_DEVFILE = "che.eclipse.org/devfile"; export declare const DEVWORKSPACE_DEVFILE_SOURCE = "che.eclipse.org/devfile-source"; export declare class Main { /** * Default constructor. */ constructor(); generateDevfileContext(params: { devfilePath?: string; devfileUrl?: string; devfileContent?: string; outputFile?: string; editorPath?: string; editorContent?: string; editorUrl?: string; projects: { name: string; location: string; }[]; injectDefaultComponent?: string; defaultComponentImage?: string; }, axiosInstance: axios.AxiosInstance): Promise; replaceIfExistingProjects(devfileContent: string, projects: { name: string; location: string; }[]): string; start(): Promise; }