import ScrollPage from '../block'; import Content from '../block/base/content'; import Clipboard from '../clipboard'; import History from '../history'; import InlineRenderer from '../inlineRenderer'; import Search from '../search'; import Selection from '../selection'; import JSONState from '../state'; import { TState } from '../state/types'; import { Nullable } from '../types'; import Muya from '../index'; declare class Editor { muya: Muya; jsonState: JSONState; inlineRenderer: InlineRenderer; selection: Selection; searchModule: Search; clipboard: Clipboard; history: History; scrollPage: Nullable; private _activeContentBlock; constructor(muya: Muya); get activeContentBlock(): Nullable; set activeContentBlock(block: Nullable); init(): void; private _dispatchEvents; focus(): void; updateContents(operations: any, selection: any, source: any): void; setContent(content: TState[] | string, autoFocus?: boolean): void; exportAPI(): void; } export default Editor;