# src/plotsrv/__init__.py
from __future__ import annotations

from .server import (
    start_server,
    stop_server,
    refresh_view,
    plot_session,
    start_plot_server,
    stop_plot_server,
    refresh_plot_server,
)
from .config import set_table_view_mode
from .decorators import plotsrv, plot, table, get_plotsrv_spec, PlotsrvSpec
from .publisher import plot_launch, publish_view, publish_artifact
from .artifacts import Artifact, ArtifactKind

__all__ = [
    "start_server",
    "stop_server",
    "refresh_view",
    "plot_session",
    "start_plot_server",
    "stop_plot_server",
    "refresh_plot_server",
    "set_table_view_mode",
    "plotsrv",
    "plot",
    "table",
    "get_plotsrv_spec",
    "PlotsrvSpec",
    "plot_launch",
    "publish_view",
    "publish_artifact",
]
