import type { RsdoctorRspackPluginInstance, RsdoctorRspackPluginOptions, RsdoctorRspackPluginOptionsNormalized } from '@rsdoctor/core/types'; import { RsdoctorPrimarySDK } from '@rsdoctor/sdk'; import { Linter, Plugin, SDK } from '@rsdoctor/types'; export declare class RsdoctorRspackPlugin implements RsdoctorRspackPluginInstance { readonly name = "RsdoctorRspackPlugin"; readonly sdk: SDK.RsdoctorBuilderSDKInstance | RsdoctorPrimarySDK; readonly isRsdoctorPlugin: boolean; _bootstrapTask: Promise; protected browserIsOpened: boolean; modulesGraph: SDK.ModuleGraphInstance; options: RsdoctorRspackPluginOptionsNormalized; outsideInstance: boolean; constructor(options?: RsdoctorRspackPluginOptions); apply(compiler: unknown): unknown; /** * @description Generate ModuleGraph and ChunkGraph from stats and webpack module apis; * @param {Compiler} compiler * @return {*} * @memberof RsdoctorWebpackPlugin */ ensureModulesChunksGraphApplied(compiler: Plugin.BaseCompilerType<'rspack'>): void; afterPlugins: (compiler: Plugin.BaseCompilerType<"rspack">) => void; done: (compiler: Plugin.BaseCompilerType<"rspack">) => Promise; getRspackConfig(compiler: Plugin.BaseCompilerType<'rspack'>): void; }