import type { DefineValueType, TargetOption, WarningLevelOption } from './Plugin'; export declare class Environment { readonly context: string; readonly fs: any; readonly target: TargetOption; readonly globalObject: string | undefined; /** All names and values that parsed from {@link PluginOptions.defs}. */ readonly defines: Map; /** Constant names and values. */ readonly constants: Map; readonly warningLevel: WarningLevelOption; readonly logTransformed: boolean; /** * @param options.context - An absolute directory used to resolve the relative pattern to absolute. * @param options.fs - User provided file system, defaults to fs-extra. * @param options.target - Closure module transform target, "esm" or "commonjs", defaults to "esm". * @param options.defines - List of string and value to override the goog.define expression, if the name part is omitted, its value will be true. * The value could be string, boolean and number. * @param warningLevel - "show" show all warnings, "hidelib" hide warnings in Closure library modules and show warnings in user modules, "hideUser" opposite "hideLib", "hide" hide all warnings, defualts to "hideLib". * @param options.logTransformed - Enable log transformed Closure module to build directory, defaults to false. */ constructor(options: { context: string; fs?: any; target?: TargetOption; globalObject?: string; defines?: any[]; warningLevel?: WarningLevelOption; logTransformed?: boolean; }); }