import { BuiltinPluginName } from "@rspack/binding"; export type DefinePluginOptions = Record; export declare const DefinePlugin: { new (define: DefinePluginOptions): { name: BuiltinPluginName; _args: [define: DefinePluginOptions]; affectedHooks: "done" | "make" | "compile" | "emit" | "afterEmit" | "invalid" | "thisCompilation" | "afterDone" | "compilation" | "normalModuleFactory" | "contextModuleFactory" | "initialize" | "shouldEmit" | "infrastructureLog" | "beforeRun" | "run" | "assetEmitted" | "failed" | "shutdown" | "watchRun" | "watchClose" | "environment" | "afterEnvironment" | "afterPlugins" | "afterResolvers" | "beforeCompile" | "afterCompile" | "finishMake" | "entryOption" | "additionalPass" | undefined; raw(compiler: import("..").Compiler): import("@rspack/binding").BuiltinPlugin; apply(compiler: import("..").Compiler): void; }; }; type CodeValue = RecursiveArrayOrRecord; type CodeValuePrimitive = null | undefined | RegExp | Function | string | number | boolean | bigint | undefined; type RecursiveArrayOrRecord = { [index: string]: RecursiveArrayOrRecord; } | Array> | T; export {};