import { Compiler, RspackPluginInstance } from '@rspack/core'; import type { I18nOptions, NormalizedAngularRspackPluginOptions } from '../models'; import { READY_SIGNAL_PLUGIN } from '../utils/dev-server-ready-signal'; import { AngularRspackPlugin } from './angular-rspack-plugin'; import type { SsrReloadServer } from './server/ssr-reload-server'; import { type SharedLicenseInputs } from './extract-licenses-plugin'; import { type SharedServerRenderingInputs } from './index-html-plugin'; export declare class NgRspackPlugin implements RspackPluginInstance { readonly pluginOptions: NormalizedAngularRspackPluginOptions; readonly isPlatformServer: boolean; readonly i18n: I18nOptions; private readonly sharedLicenseInputs; private readonly sharedAngularPlugin; private readonly serverRenderingInputs; private readonly ssrReloadServer; readonly [READY_SIGNAL_PLUGIN] = true; constructor(pluginOptions: NormalizedAngularRspackPluginOptions, extraOptions: { platform: 'browser' | 'server'; i18nOptions: I18nOptions; /** * License extraction inputs shared across the compilers of an SSR * build, so the browser and server compilers emit the union instead of * overwriting each other's licenses file. */ sharedLicenseInputs?: SharedLicenseInputs; /** * Angular compilation shared across the compilers of an SSR build: the * browser compiler owns it (its program includes the server entry * points) and the server compiler consumes its output instead of * running a second compilation. When absent, each compiler runs its * own compilation. */ sharedAngularPlugin?: AngularRspackPlugin; /** * Filled by the browser compiler of an SSR build for the server * compiler. */ serverRenderingInputs?: SharedServerRenderingInputs; ssrReloadServer?: SsrReloadServer; }); apply(compiler: Compiler): void; } //# sourceMappingURL=ng-rspack.d.ts.map