/**********************************************************************
 * Copyright (c) 2021 Red Hat, Inc.
 *
 * 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 { che } from '@eclipse-che/api';
import { Devfile } from './api/devfile';
declare function v2ToV1(devfileV2: Devfile, externalContentAccess?: (filename: string) => Promise<string>): Promise<che.workspace.devfile.Devfile>;
declare function v1ToV2(devfileV1: che.workspace.devfile.Devfile): Promise<Devfile>;
export { v1ToV2, v2ToV1 };
