export interface EditorState { content: string; isDirty: boolean; isSaving: boolean; lastSaved: Date | null; error: string | null; } export interface UseEditorStateOptions { initialContent?: string; autosaveDelay?: number; onSave?: (content: string) => Promise; onError?: (error: Error) => void; } export declare const useEditorState: ({ initialContent, autosaveDelay, onSave, onError, }?: UseEditorStateOptions) => { content: string; isDirty: boolean; isSaving: boolean; lastSaved: Date | null; error: string | null; updateContent: (newContent: string) => void; save: () => Promise; reset: () => void; }; //# sourceMappingURL=use-editor-state.d.ts.map