Renderer contract for painting a full TUI snapshot.
virtual void clear()=0
Clears backend surface/frame.
virtual Result< void > render(const TuiSnapshot &snapshot)=0
Renders a full UI snapshot.
virtual ~IRenderer()=default
Virtual destructor for interface-safe polymorphic cleanup.
A result type that holds either a success value of type T or an ErrorCode.
Error codes and Result<T> type for fallible operations.
Top-level immutable model snapshot consumed by TUI controller/views.
Immutable DTO contracts for the external TUI MVC model layer.