import { AccountConfig, ServiceRegistry } from 'handel-extension-api'; import { EnvironmentContext, ExtensionList, HandelCoreOptions, HandelFile } from '../datatypes'; /** * Ensure that the top-level of the Handel file is valid. * * This does not check the individual services in the file, those are handled by the * service deployer themselves. */ export declare function validateHandelFile(handelFile: HandelFile, serviceRegistry: ServiceRegistry): Promise; /** * Given a Handel file, returns the EnvironmentContext for the requested environment. * * Assume all validation has been done previously, so jsut create the EnvironmentContext * * @param {Object} handelFile - The Object representing the provided YAML deploy spec file * @param {String} environmentName - The name of the environment in the deploy spec for which we want the EnvironmentContext * @param {AccountConfig} accountConfig - account configuration * @param {ServiceRegistry} serviceRegistry - registry of all loaded services * @param {HandelCoreOptions} options * @returns {EnvironmentContext} - The generated EnvironmentContext from the specified environment in the Handel file */ export declare function createEnvironmentContext(handelFile: HandelFile, environmentName: string, accountConfig: AccountConfig, serviceRegistry: ServiceRegistry, options: HandelCoreOptions): EnvironmentContext; export declare function listExtensions(handelFile: HandelFile): Promise;