import React from "react"; /** * ReactComponentServer renders React nodes in a plain HTML page. */ export declare class ReactComponentServer { private readonly app; private server; private port; private readonly nodes; constructor(staticPaths: Record); private renderWithStyledComponents; private renderWithoutStyledComponents; start(): Promise; stop(): Promise; serve(node: NodeDescription, ready: (port: number, path: string) => Promise, id?: string): Promise; } export interface NodeDescription { name: string; reactNode: React.ReactNode; remoteStylesheetUrls: string[]; }