"""Statement screen entry points.

ops-contract: the customer-facing view and the support console both enter
through `statement.build_statement(account, period_key, viewport)` and
`statement.render_html(node, viewport)`. Where the implementation lives is
yours -- this module is already a shim and can stay one -- but those two names
keep those signatures in this package.
"""

try:
    from adjustments.statement import (
        VIEWPORTS,
        Node,
        build_statement,
        render_html,
    )
except ModuleNotFoundError as error:
    if error.name != "adjustments.statement":
        raise
    from .view import VIEWPORTS, Node, build_statement, render_html

__all__ = [
    "VIEWPORTS",
    "Node",
    "build_statement",
    "render_html",
]
