import { Compiler } from 'webpack'; import { ICodefendTransformationOptions, ICodefendInternalTransformationOptions, ICodefendInternalDebugOptions, ICodefendInternalParserOptions, ICodefendDebugOptions, buildRuntimeOptions } from 'codefend'; type IWebpackCodefendOptions = { transformation?: ICodefendTransformationOptions; debug?: IWebpackCodefendDebugOptions; }; type IWebpackCodefendInternalOptions = { transformation: ICodefendInternalTransformationOptions; debug: ICodefendInternalDebugOptions; parser: ICodefendInternalParserOptions; }; type IWebpackCodefendDebugOptions = Omit; type ICodefendRuntimeOptions = ReturnType; declare class WebpackPluginCodefend { readonly _name: string; readonly ___options: IWebpackCodefendInternalOptions; readonly _runtimeOptions: ICodefendRuntimeOptions; constructor(options?: IWebpackCodefendOptions); apply(compiler: Compiler): void; private _getFileSource; private _obfuscateSource; private _overrideFileSource; } export { WebpackPluginCodefend };