# nextModule

function in `@dioramajs/diorama/next`

```ts
import { nextModule } from '@dioramajs/diorama/next'
```

Lazy imports with their metadata and the registry's types in one file.

```ts
function nextModule(
  found: readonly Found[],
  from: string,
  tool?: string,
): string
```

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

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