"""The figure workflow: read the charts in a document into its parse.

The parse detects a chart and marks the region as one, but the plotted values
are never read, so a number that appears only in a chart appears nowhere in the
extracted document. This workflow reads them.

In: the parse, and the source document. Out: that same parse enriched, written
back under the name it was read from, and the page scans.
"""

from quber.core.figures.models import ChartContext, FigureRecord, FigureRun, PageScan
from quber.core.figures.orchestrator import ChartOutput, run_figures, run_figures_sync

__all__ = [
    "ChartContext",
    "ChartOutput",
    "FigureRecord",
    "FigureRun",
    "PageScan",
    "run_figures",
    "run_figures_sync",
]
