import { IEnvironmentParser } from "./i-environment-parser";
import { IEnvironmentParserOptions } from "./i-environment-parser-options";
import { IRollupService } from "../../rollup/rollup-service/i-rollup-service";
import { IEnvironmentParserResult } from "./i-environment-parser-result";
import { NormalizeFunction } from "../../normalize/normalize-function";
import { IEnvironmentDefaults } from "../../environment/i-environment-defaults";
import { IBuildConfig } from "../../build-config/i-build-config";
import { IRollupServiceGenerateWithResultResult } from "../../rollup/rollup-service/i-rollup-service-generate-with-result-result";
/**
 * A class that helps with parsing the environment variables for a specific build
 */
export declare class EnvironmentParser implements IEnvironmentParser {
    private readonly rollupService;
    private readonly config;
    private readonly normalizeFunction;
    constructor(rollupService: IRollupService, config: IBuildConfig, normalizeFunction: NormalizeFunction<IEnvironmentDefaults>);
    /**
     * Parses the environment variables defined on the given paths
     * @param {string} path
     * @param {Partial<IEnvironmentDefaults>} additionalEnvironmentVariables
     * @param {string} tsconfig
     * @param {string} root
     * @param {IPackageJson} packageJson
     * @param {RollupCache} [cache]
     * @returns {Promise<IRollupServiceGenerateWithResultResult<IEnvironmentParserResult>>}
     */
    parse({path, additionalEnvironmentVariables, tsconfig, root, packageJson, cache}: IEnvironmentParserOptions): Promise<IRollupServiceGenerateWithResultResult<IEnvironmentParserResult>>;
}
