import { EditorState } from '../States'; import { HistoryAction } from './history'; import { UndoManagerInterface } from './interface'; import { ModelAction } from './model'; export declare type EditorAction = ModelAction | HistoryAction; export interface UndoListAction { act: 'push' | 'pop' | 'new' | 'post'; value?: EditorAction; } export declare function useEditorState(x: EditorState): UndoManagerInterface; //# sourceMappingURL=state.d.ts.map