---
url: >-
  https://lit-ui-router.dev/v1/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

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 }`.
