//! Streaming text generation (`stream_text`).
//!
//! The step loop runs in a background task and emits [`StreamEvent`]s
//! through a bounded channel; the consumer side applies the user transforms,
//! accumulates step results and resolves the [`Completion`].
//!
//! Design: `docs/01-architecture/07-generation-loop-and-streaming.md` ยง3.
pub use ErrorDecision;
pub use OnErrorFn;
pub use StreamConfig;
pub use StreamText;
pub use stream_text;
pub use StreamErrorInfo;
pub use StreamEvent;
pub use Completion;
pub use EventStream;
pub use StreamTextResult;
pub use StreamTransform;
pub use TransformContext;
pub use smooth_stream;