# Generated by @docstream/fastapi-server-emitter
# Do not edit this file manually — regenerate with: tsp compile .
# This file contains Pydantic v2 models and enums generated from TypeSpec.
from __future__ import annotations

from typing import Literal
from pydantic import BaseModel, Field

class RendererConfig(BaseModel):
    """Renderer configuration for Markdown-to-HTML conversion. Both engines are optional; partial overrides are allowed (set only `md_engine` or only `hl_engine`). When neither context nor source sets a value, the service default applies (`md_engine: \"pandoc\"`, `hl_engine: \"pygments\"`)."""
    md_engine: Literal["pandoc", "python-markdown"] | None = Field(None, description="Markdown engine: `pandoc` (default, with automatic fallback to `python-markdown`) or `python-markdown`.")
    hl_engine: Literal["pygments", "none"] | None = Field(None, description="Syntax-highlighting engine: `pygments` (default) or `none`.")
