# declarations

function in `@dioramajs/diorama/vite`

```ts
import { declarations } from '@dioramajs/diorama/vite'
```

Types that check effect names in `attach('.x', 'name')` and `data-dio`.

```ts
function declarations(found: readonly Found[], from: string): string
```

| Parameter | Type | Description |
| --- | --- | --- |
| `found` | `readonly Found[]` |  |
| `from` | `string` |  |

Defined in [packages/diorama/src/vite.ts](https://github.com/MasterKurosava/diorama/blob/main/packages/diorama/src/vite.ts#L124).
