> ## 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

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

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

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

## Runtime exports

* `ACTION_NAME`
* `ALLOWED_SCHEMES`
* `CUSTOM_VARIABLE`
* `DEFAULT_MAX_NODES`
* `DuplicateKindError`
* `DuplicateThemeError`
* `FORBIDDEN_TAGS`
* `HTTP_METHODS`
* `InvalidTemplateError`
* `InvalidThemeEntryError`
* `MAX_TEMPLATE_DEPTH`
* `OUTPUT_MODES`
* `PATTERN_MAX_LENGTH`
* `PROMPT_TEXT_MAX`
* `PROPERTY_NAME`
* `REDACTED`
* `RESERVED_ATTR`
* `SECRET_NAME`
* `THEME_TOKENS`
* `TOKEN_DEFAULTS`
* `TOKEN_SPECS`
* `UNSAFE`
* `URL_ATTRS`
* `analyzeHints`
* `applyOutput`
* `applyTheme`
* `baseStylesheet`
* `buildRequest`
* `collectActionRefs`
* `collectInlineActions`
* `collectSecretRefs`
* `compileTemplate`
* `countTemplateNodes`
* `createCatalog`
* `createThemeRegistry`
* `darkTheme`
* `el`
* `findActionBinding`
* `findTemplateNode`
* `getAtPath`
* `hasActionBindings`
* `inferKind`
* `injectBaseStyles`
* `isDataPath`
* `isPlainObject`
* `isSafeImageSrc`
* `isSafeTokenValue`
* `isSafeUrl`
* `looksLikeImageUrl`
* `mapToWidget`
* `mountNode`
* `mountWidget`
* `parseCsv`
* `parseJson`
* `parsePath`
* `redactText`
* `redactValue`
* `registerTemplate`
* `renderToHtml`
* `resolveActionDescriptor`
* `setAtPath`
* `themeToCss`
* `validateActionBinding`
* `validateActionDefinition`
* `validateArgs`
* `validateDataAgainstSchema`
* `validateLoadBinding`
* `validateTemplate`
* `validateTheme`
* `validateWidgetPayload`
* `widgetStylesToCss`

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.
