## API Report File for "@eigenpal/docx-editor-core"

> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).

```ts

import { EditorView } from 'prosemirror-view';

// @public
export interface AutoSaveManagerOptions {
    debounceDelay?: number;
    interval?: number;
    maxAge?: number;
    onError?: (error: Error) => void;
    onRecoveryAvailable?: (savedDocument: SavedDocumentData) => void;
    onSave?: (timestamp: Date) => void;
    saveOnChange?: boolean;
    storageKey?: string;
}

// @public
export interface AutoSaveSnapshot {
    // (undocumented)
    hasRecoveryData: boolean;
    // (undocumented)
    isEnabled: boolean;
    // (undocumented)
    lastSaveTime: Date | null;
    // (undocumented)
    status: AutoSaveStatus;
}

// @public
export type AutoSaveStatus = 'idle' | 'saving' | 'saved' | 'error';

// @public
export interface CellCoordinates {
    // (undocumented)
    columnIndex: number;
    // (undocumented)
    rowIndex: number;
    // (undocumented)
    tableIndex: number;
}

// @public
export interface EditorHandle {
    destroy(): void;
    focus(): void;
    getDocument(): Document_2 | null;
    save(): Promise<Blob | null>;
}

// @public
export interface ErrorManagerSnapshot {
    // (undocumented)
    notifications: ErrorNotification[];
}

// @public
export interface ErrorNotification {
    // (undocumented)
    details?: string;
    // (undocumented)
    dismissed?: boolean;
    // (undocumented)
    id: string;
    // (undocumented)
    message: string;
    // (undocumented)
    severity: ErrorSeverity;
    // (undocumented)
    timestamp: number;
}

// @public
export type ErrorSeverity = 'error' | 'warning' | 'info';

// @public
export interface PluginLifecycleConfig {
    // (undocumented)
    destroy?: () => void;
    // (undocumented)
    id: string;
    // (undocumented)
    initialize?: (editorView: EditorView) => unknown;
    // (undocumented)
    onStateChange?: (editorView: EditorView) => unknown;
    // (undocumented)
    styles?: string;
}

// @public
export interface PluginLifecycleSnapshot {
    states: Map<string, unknown>;
    version: number;
}

// @public
export interface SavedDocumentData {
    document: Document_2;
    documentId?: string;
    savedAt: string;
    version: number;
}

// @public
export interface TableSelectionSnapshot {
    selectedCell: CellCoordinates | null;
}

```
