UNPKG

admesh-ui-sdk

Version:

Beautiful, modern React components for displaying AI-powered product recommendations with citation-based conversation ads, auto-triggered widgets, floating chat, conversational interfaces, persistent sidebar, and built-in tracking. Includes zero-code SDK

27 lines 768 B
import { AgentRecommendationResponse, AdMeshTheme } from '../types/index'; import { AdMeshTracker } from './AdMeshTracker'; export interface RenderOptions { containerId: string; response: AgentRecommendationResponse; theme?: AdMeshTheme; tracker: AdMeshTracker; sessionId: string; onPasteToInput?: (content: string) => void; } export declare class AdMeshRenderer { private roots; constructor(); /** * Render recommendations in the specified container */ render(options: RenderOptions): Promise<void>; /** * Unmount a rendered component */ unmount(containerId: string): void; /** * Unmount all rendered components */ unmountAll(): void; } //# sourceMappingURL=AdMeshRenderer.d.ts.map