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

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

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

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

## Runtime exports

* `ALLOWED_SCHEMES`
* `isSafeImageSrc`
* `isSafeUrl`
* `looksLikeImageUrl`
* `validateWidgetPayload`

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.
