---
url: >-
  https://lit-ui-router.dev/reference/ui-router-registry/index/interfaces/RegisteredStates.md
---
[ui-router-registry](../../index.md) / [ui-router-registry](../index.md) / RegisteredStates

# Interface: RegisteredStates

Defined in: [registry.ts:50](https://github.com/simshanith/lit-ui-router/blob/6e47ef8d8a4b24e99c074fb5c8c9cfaddfdb36a4/packages/ui-router-registry/src/registry.ts#L50)

The app's state declarations keyed by name, filled in by module
augmentation. Each module registers its own `as const` table, lazy modules
included, and a file that imports none of them still sees every name:

```ts
declare module 'ui-router-registry' {
  interface RegisteredStates extends StatesOf<typeof contactsStates> {}
}
```

A class-declared state can be registered by hand:
`interface RegisteredStates { about: typeof AboutState }`.
