import { EditorModel } from '../editormodel'; import { ElmAction } from './components/elements'; import { EnumAction } from './components/enums'; import { MetaAction } from './components/meta'; import { PageAction } from './components/pages'; import { ViewAction } from './components/view'; import { ProvisionAction } from './components/provision'; import { RefAction } from './components/ref'; import { RoleAction } from './components/roles'; import { SectionAction } from './components/sections'; import { TermsAction } from './components/terms'; import { VarAction } from './components/vars'; import { TableAction } from './components/table'; import { FigAction } from './components/figure'; import { UndoReducerModelInterface } from './interface'; import { CommentAction } from './components/comment'; import { HyEditAction } from './hybird/distributor'; import { NotesAction } from './components/notes'; import { LinkAction } from './components/links'; interface InitModelAction { act: 'initModel'; value: EditorModel; } declare type ALLACTION = ElmAction | MetaAction | SectionAction | TermsAction | RoleAction | RefAction | ProvisionAction | NotesAction | LinkAction | PageAction | EnumAction | VarAction | ViewAction | TableAction | FigAction | CommentAction | HyEditAction | InitModelAction; interface ValidateAction { act: 'validate-page'; refAction: ModelAction; cascade?: ModelAction[]; page: string; } declare type OwnAction = ValidateAction; export declare type ModelAction = (ALLACTION | OwnAction) & { type: 'model'; }; export declare function useModel(x: EditorModel): UndoReducerModelInterface; export {}; //# sourceMappingURL=model.d.ts.map