import { type ReactNode } from "react"; import type { ClientAssetGroup } from "../shared/runtime-config.js"; import { type RscFlightFetchOptions } from "./react.js"; export interface ReactRscModelOptions extends RscFlightFetchOptions { moduleBaseURL?: string; } export interface ReactRscMountOptions extends ReactRscModelOptions { mount: string | Element; document?: Document; fallback?: ReactNode; hydrate?: boolean; } export interface ReactRscRuntimeBootstrap { version: 1; buildId: string; pageId: string; endpoint: string; basepath?: string; publicPath?: string; mount: string; page?: { assets?: ClientAssetGroup; routeId?: string; }; } export declare function createReactRscModel(options: ReactRscModelOptions): Promise; export declare function mountReactRscPage(options: ReactRscMountOptions): Promise; export declare function unmountReactRscPage(mount: string | Element): void; export declare function startReactRscPageRuntime(options?: { document?: Document; bootstrap?: ReactRscRuntimeBootstrap; }): Promise; //# sourceMappingURL=rsc.d.ts.map