## API Report File for "@lynx-js/react-rsbuild-plugin" > Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/). ```ts import { LAYERS } from '@lynx-js/react-webpack-plugin'; import type { LynxTemplatePlugin as LynxTemplatePlugin_2 } from '@lynx-js/template-webpack-plugin'; import { ReactCompileResult } from '@lynx-js/react-webpack-plugin'; import type { RsbuildPlugin } from '@rsbuild/core'; import type { Rspack } from '@rsbuild/core'; import type { TemplateHooks } from '@lynx-js/template-webpack-plugin'; // @public export interface AddComponentElementConfig { compilerOnly: boolean } // @public export interface CompatVisitorConfig { addComponentElement: boolean | AddComponentElementConfig additionalComponentAttributes: Array componentsPkg: Array // Warning: (tsdoc-missing-deprecation-message) The @deprecated block must include a deprecation message, e.g. describing the recommended alternative // Warning: (ae-forgotten-export) The symbol "DarkModeConfig" needs to be exported by the entry point index.d.ts // // @deprecated darkMode?: boolean | DarkModeConfig disableDeprecatedWarning: boolean legacySlot?: boolean newRuntimePkg: string oldRuntimePkg: Array // @deprecated removeComponentAttrRegex?: string // @deprecated simplifyCtorLikeReactLynx2: boolean // @internal (undocumented) target: 'LEPUS' | 'JS' | 'MIXED' transformLegacyEventAttributeNames?: boolean } // @public export interface DefineDceVisitorConfig { define: Record } // @public export interface ExtractStrConfig { // @internal (undocumented) extractedStrArr?: Array strLength: number } export { LAYERS } // Warning: (ae-missing-release-tag) "LynxTemplatePlugin" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal) // // @public (undocumented) export interface LynxTemplatePlugin { // (undocumented) getLynxTemplatePluginHooks: typeof LynxTemplatePlugin_2.getLynxTemplatePluginHooks; } // @public export function pluginReactLynx(userOptions?: PluginReactLynxOptions): RsbuildPlugin[]; // @public export interface PluginReactLynxOptions { compat?: Partial & { disableCreateSelectorQueryIncompatibleWarning?: boolean; } | undefined; customCSSInheritanceList?: string[] | undefined; debugInfoOutside?: boolean; defaultDisplayLinear?: boolean; defineDCE?: Partial | undefined; enableAccessibilityElement?: boolean; enableCSSInheritance?: boolean; enableCSSInvalidation?: boolean; enableCSSSelector?: boolean; enableNewGesture?: boolean; enableRemoveCSSScope?: boolean | undefined; enableSSR?: boolean; enableUiSourceMap?: boolean; engineVersion?: string; // @alpha experimental_isLazyBundle?: boolean; experimental_reEvalJSOnReload?: boolean; experimental_transformBuiltinAttributeNames?: boolean | TransformBuiltinAttributeNamesOptions; experimental_useElementTemplate?: boolean; extractStr?: Partial | boolean; firstScreenSyncTiming?: 'immediately' | 'jsReady' | 'manual'; globalPropsMode?: 'reactive' | 'event'; optimizeBundleSize?: boolean | { mainThread?: boolean; background?: boolean; }; removeDescendantSelectorScope?: boolean; shake?: Partial | undefined; // @deprecated targetSdkVersion?: string; } export { ReactCompileResult } // @public export interface ReactCompileResultExposureV1 { getCompileResult(stats: Rspack.Stats | Rspack.MultiStats): ReactCompileResult | undefined; version: 1; } // @public export interface ShakeVisitorConfig { pkgName: Array removeCall: Array removeCallParams: Array retainProp: Array } export { TemplateHooks } // @public export interface TransformBuiltinAttributeNamesOptions { mode?: 'dash-case' | 'mapping-only' preserve?: ReadonlyArray rename?: Readonly> } ```