# decodeChapters

**Kind:** Function

**Source:** [`atloria-monorepo/packages/doc-automation/src/v2/stages/stage-13-upload/video-directive.ts`](https://github.com/sherkety/atloria/blob/main/atloria-monorepo/packages/doc-automation/src/v2/stages/stage-13-upload/video-directive.ts#L72)

Decode the chapter attribute back to `{title,start}[]` (mirror of encodeChapters).

## Signature

```ts
function decodeChapters(encoded: string): VideoChapter[]
```

## Parameters

| Name | Type |
|---|---|
| `encoded` | `string` |

**Returns:** `VideoChapter[]`
