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

# Types: editor: Other

## `EditResult`

Not exported by name. You get it from the API.

| Name | Type | Description |
| - | - | - |
| `dirtyPages` | `number[] \| "all"` | Page indices (1-based, as `LayoutPage.index`) whose pixels may differ. |
| `ir` | `LayoutDocument` | |
| `restampedPages?` | `number[]` | The dirty pages whose body is unchanged: only their header/footer ink moved. |
| `selection` | `Selection` | |

## `MarkDecorator`

Restyles a mark's box after the built-in class is set: change its class or
style, add children, or `box.remove()` to paint nothing there.

Import from `@reductoai/docx-editor`, `@reductoai/docx-editor/model`.

```ts theme={null}
type MarkDecorator = (box: HTMLElement, mark: ReviewMark, rect: Rect) => void
```

## `Misspelling`

Import from `@reductoai/docx-editor`, `@reductoai/docx-editor/model`.

| Name | Type | Description |
| - | - | - |
| `end` | `number` | |
| `start` | `number` | |
| `target` | `EditTarget` | |
| `word` | `string` | |

## `PlacedItem`

An item with its kind, its key and where it sits now; `at` is absent when its bookmark is gone.

Import from `@reductoai/docx-editor`, `@reductoai/docx-editor/model`.

```ts theme={null}
type PlacedItem = ReviewItem & { at?: ReviewRange; key: string; kind: string }
```

## `StoryKind`

Not exported by name. You get it from the API.

```ts theme={null}
type StoryKind = "header" | "footer" | "footnote" | "textbox"
```
