import { ThreadViewOptions } from "@agimon-ai/po-core/web"; import { ReactNode } from "react"; //#region src/web/lib/threadRenderer.d.ts type ThreadRenderer = (sessionId: string, threadId: string, options?: ThreadViewOptions) => ReactNode; /** * Holds the host's thread view for the plugin props to render. * * The view is a feature built on the timeline, while the props are assembled * below it; the composition root binds the one to the other, the same * indirection the transport uses for the socket. */ export declare function bindThreadRenderer(renderer: ThreadRenderer): void; export declare function releaseThreadRenderer(): void; /** The bound view, or nothing while none is bound (before the app mounts, and in unit tests). */ export declare function renderThread(sessionId: string, threadId: string, options?: ThreadViewOptions): ReactNode; //#endregion export {}; //# sourceMappingURL=threadRenderer.d.mts.map