import { JSONGenerativeUIOptions, PresentTool, PresentToolOptions, PromptUserTool } from "./JSONGenerativeUI.shared.js"; //#region src/JSONGenerativeUI.client.d.ts /** * Client build of {@link JSONGenerativeUI}, resolved through the package's * `default` export condition (browser and SSR). * * `present` is a frontend tool that renders the model's `{ $type, ...props }` * tree against the library and resolves immediately. `prompt_user` is a * human-in-the-loop tool: the model pauses and the rendered UI supplies the * result. Both draw the tree the same way, so they share one `render`. The * `actions` registry (if provided) is threaded into the render context so * interactive components can fire `$action` through `$dispatch`. */ export declare class JSONGenerativeUI { private readonly library; private readonly parameters; private readonly actions; constructor(options: JSONGenerativeUIOptions); /** * The surface a `present` call paints into. It owns the vertical rhythm * between top-level blocks, which the host's message container does not * provide, and stays out of the way while it has nothing to show. */ private readonly render; present(options?: PresentToolOptions): PresentTool; promptUser(): PromptUserTool; } //#endregion //# sourceMappingURL=JSONGenerativeUI.client.d.ts.map