> ## Documentation Index
> Fetch the complete documentation index at: https://docs.widgentic.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# @widgentic/core/templates

> Runtime exports of the @widgentic/core/templates entry — generated from the package itself.

```bash theme={null}
npm install @widgentic/core
```

```ts theme={null}
import { DEFAULT_MAX_NODES } from "@widgentic/core/templates";
```

## Runtime exports

* `DEFAULT_MAX_NODES`
* `FORBIDDEN_TAGS`
* `InvalidTemplateError`
* `MAX_TEMPLATE_DEPTH`
* `RESERVED_ATTR`
* `URL_ATTRS`
* `collectActionRefs`
* `collectInlineActions`
* `compileTemplate`
* `countTemplateNodes`
* `findActionBinding`
* `findTemplateNode`
* `hasActionBindings`
* `parsePath`
* `registerTemplate`
* `resolveActionDescriptor`
* `validateTemplate`

Type-only exports are not visible at runtime; see the [package README](https://github.com/widgentic/widgentic/blob/main/packages/core/README.md) and the bundled declarations.
