export type { BuildPresetName, EmpOptions } from './types/config.js'; import type { GlobalStore } from './store/index.js'; import type { EmpOptions } from './types/config.js'; export type { EMP3PluginFnType, EMP3PluginType } from './types/plugin.js'; import { type RspackOptions, rspack } from '@rspack/core'; import { program } from 'commander'; import runScript from './script/index.js'; import store from './store/index.js'; export type EMPConfigFn = (store: GlobalStore) => EmpOptions | Promise; export type EMPConfigExport = EmpOptions | EMPConfigFn; export declare function defineConfig(config: EMPConfigExport): EMPConfigExport; import { color, Logger } from './helper/logger.js'; export { store, runScript, rspack, program, color, Logger }; export type { GlobalStore, RspackOptions }; export type { Compilation, Compiler, LoaderContext } from '@rspack/core'; export * as empHelper from './helper/index.js';