import { html } from "lit";
import { renderGeneratedMarkdownContent } from "./generated-content/generated-markdown-content.js";
import { renderGeneratedTextContent } from "./generated-content/generated-text-content.js";
const renderGeneratedContentContainer = ({ props })=>(children)=>html`
    <div part="generated-container">
      ${'text/markdown' === props.answerContentFormat ? renderGeneratedMarkdownContent({
            props: {
                answer: props.answer,
                isStreaming: props.isStreaming
            }
        }) : renderGeneratedTextContent({
            props: {
                answer: props.answer,
                isStreaming: props.isStreaming
            }
        })}
      <div class="footer">${children}</div>
    </div>
  `;
export { renderGeneratedContentContainer };
