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

# IConfigRegistry interface

> Resolves and validates typed configuration objects from the runtime environment.

import { PageLink } from '/snippets/tsdocs/PageLink.jsx';
import { RefLink } from '/snippets/tsdocs/RefLink.jsx';

# IConfigRegistry

## Summary

Resolves and validates typed configuration objects from the runtime environment.

## Signature

```typescript theme={null}
interface IConfigRegistry 
```

## Remarks

An instance is available in `InitContext.config`. Configuration classes must be decorated with `class-transformer` (`@Expose`, `@Default`) and `class-validator` (`@IsPort`, `@IsIpOrFQDN`, etc.) decorators from `@nanoforge-dev/config`.

## Examples

### Example 1

```typescript theme={null}
```
