import "nitro/rsbuild/types"; import { Nitro, NitroConfig } from "nitro/types"; import { RsbuildPlugin } from "@rsbuild/core"; interface NitroRsbuildPluginConfig extends NitroConfig { /** * Existing Nitro instance to use instead of creating one (for frameworks that create Nitro themselves). */ _nitro?: Nitro; } /** * Rsbuild plugin adding a `nitro` environment to the Rsbuild app, building the Nitro server with * the (experimental) `rspack` builder config. */ export declare function nitro(pluginConfig?: NitroRsbuildPluginConfig): RsbuildPlugin; export type { NitroRsbuildPluginConfig };