# ImageEditorHistoryState (@salmonui/editors/image-editor)

> The ImageEditorHistoryState interface of @salmonui/editors/image-editor.

Canonical: https://salmonui.dev/docs/reference/editors/image-editor/ImageEditorHistoryState

```ts
import type { ImageEditorHistoryState } from '@salmonui/editors/image-editor';
```

Entry index: https://salmonui.dev/docs/reference/editors/image-editor (Markdown with every symbol of the entry: https://salmonui.dev/docs/reference/editors/image-editor.md).

## Reference

Kind: interface

```ts
interface ImageEditorHistoryState {
    readonly canUndo: boolean;
    readonly canRedo: boolean;
    readonly undoCount: number;
    readonly redoCount: number;
}
```

Members (4):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `canUndo` | `readonly canUndo: boolean;` |  |  |
| `canRedo` | `readonly canRedo: boolean;` |  |  |
| `undoCount` | `readonly undoCount: number;` |  |  |
| `redoCount` | `readonly redoCount: number;` |  |  |
