import { type OctaneRspackPluginOptions } from "@octanejs/rspack-plugin"; import type { Compiler, RspackPluginInstance } from "@rspack/core"; import type { ProjectComponentOptions } from "./project.js"; export interface BeastRspackOptions { root?: string; components?: Readonly>; /** * The complete adapter forwards these options to Octane's class plugin. * Beast-generated TSRX consumes the compiler subset; graph-level options * such as `parallel` and `cssModuleConstants` remain owned by Octane. */ octane?: OctaneRspackPluginOptions; } /** Compile `.btsx` resources before Rspack parses the resulting JavaScript. */ export declare class BeastRspackPlugin implements RspackPluginInstance { readonly options: Readonly; constructor(options?: BeastRspackOptions); apply(compiler: Compiler): void; } /** Beast-only Rspack transform for configurations that already install Octane. */ export declare function beast(options?: BeastRspackOptions): BeastRspackPlugin; /** Complete Rspack integration for mixed `.btsx` and native Octane sources. */ export declare function beastOctane(options?: BeastRspackOptions): RspackPluginInstance; //# sourceMappingURL=rspack.d.ts.map