# models

Type definitions for builder configuration, runtime context, and build results.

This entry point re-exports the cross-cutting types consumed by the bundle, package, and bin subdomains: [`BuildConfig`](https://www.hyperfrontend.dev/docs/libraries/builder/models/#api-BuildConfig) and the per-format configuration shapes ([`EsmConfig`](https://www.hyperfrontend.dev/docs/libraries/builder/models/#api-EsmConfig), [`CjsConfig`](https://www.hyperfrontend.dev/docs/libraries/builder/models/#api-CjsConfig), [`IifeConfig`](https://www.hyperfrontend.dev/docs/libraries/builder/models/#api-IifeConfig), [`UmdConfig`](https://www.hyperfrontend.dev/docs/libraries/builder/models/#api-UmdConfig)), the [`BinConfig`](https://www.hyperfrontend.dev/docs/libraries/builder/models/#api-BinConfig) and [`SeaConfig`](https://www.hyperfrontend.dev/docs/libraries/builder/models/#api-SeaConfig) declarations, the resolved [`BuildContext`](https://www.hyperfrontend.dev/docs/libraries/builder/models/#api-BuildContext) passed to primitives, and the [`BuildResult`](https://www.hyperfrontend.dev/docs/libraries/builder/models/#api-BuildResult) returned by the `build()` facade. Consumers composing builder primitives (or extending it with custom presets) import from here to stay aligned with the shapes the rest of the library expects.

---

Canonical page: https://www.hyperfrontend.dev/docs/libraries/builder/models/
This file: https://www.hyperfrontend.dev/docs/libraries/builder/models.md
Documentation index: https://www.hyperfrontend.dev/llms.txt
