This module contains generated types for the routes in your app.
```js
// @noErrors
import type { RouteId, RouteParams, LayoutParams } from '$app/types';
```
## Asset
A union of all the filenames of assets contained in your `static` directory.
```dts
type Asset = '/favicon.png' | '/robots.txt';
```
## RouteId
A union of all the route IDs in your app. Used for `page.route.id` and `event.route.id`.
```dts
type RouteId = '/' | '/my-route' | '/my-other-route/[param]';
```
## Pathname
A union of all valid pathnames in your app.
```dts
type Pathname = '/' | '/my-route' | `/my-other-route/${string}` & {};
```
## ResolvedPathname
`Pathname`, but possibly prefixed with a [base path](https://svelte.dev/docs/kit/configuration#paths). Used for `page.url.pathname`.
```dts
type Pathname = `${'' | `/${string}`}/` | `${'' | `/${string}`}/my-route` | `${'' | `/${string}`}/my-other-route/${string} | {}`;
```
## RouteParams
A utility for getting the parameters associated with a given route.
```dts
type RouteParams = { /* generated */ } | Record;
```
## LayoutParams
A utility for getting the parameters associated with a given layout, which is similar to `RouteParams` but also includes optional parameters for any child route.
```dts
type RouteParams = { /* generated */ } | Record;
```