import { JSONGenerativeUIOptions, PresentTool, PresentToolOptions, PromptUserTool } from "./JSONGenerativeUI.shared.js"; //#region src/JSONGenerativeUI.server.d.ts /** * Server build of {@link JSONGenerativeUI}, resolved through the package's * `react-server` export condition. * * The model only needs each tool's `type`, `description`, and `parameters` on * the server, so `present`/`prompt_user` return exactly that — no `execute` and * no `render`, keeping the renderer (and React) out of the server graph. The * client build adds those back. The two builds share one set of public types, so * consumers see a single {@link JSONGenerativeUI} either way. * * `as` casts here because the tool types require a `render` for frontend/human * tools; on the server it is structurally absent and never read. */ export declare class JSONGenerativeUI { private readonly parameters; constructor(options: JSONGenerativeUIOptions); present(options?: PresentToolOptions): PresentTool; promptUser(): PromptUserTool; } //#endregion //# sourceMappingURL=JSONGenerativeUI.server.d.ts.map