/** * @license * Copyright 2023 Nuraly, Laabidi Aymen * SPDX-License-Identifier: MIT */ import { nothing, TemplateResult } from 'lit'; import type { ChatbotArtifact, ChatbotI18n } from '../chatbot.types.js'; import './artifact-diff-view.component.js'; export interface ArtifactPanelTemplateData { artifact: ChatbotArtifact | null; isOpen: boolean; /** Custom content renderer. Return undefined/empty to fall back to default. */ renderContent?: (artifact: ChatbotArtifact) => TemplateResult | undefined; i18n: ChatbotI18n; } export interface ArtifactPanelTemplateHandlers { onClose: () => void; onCopy: (artifact: ChatbotArtifact) => void; } /** * Renders the artifact preview panel (right side of chatbot) */ export declare function renderArtifactPanel(data: ArtifactPanelTemplateData, handlers: ArtifactPanelTemplateHandlers): TemplateResult | typeof nothing; //# sourceMappingURL=artifact-panel.template.d.ts.map