/*! * Jodit Editor (https://xdsoft.net/jodit/) * Released under MIT see LICENSE.txt in the project root for license information. * Copyright (c) 2013-2021 Valeriy Chupurnov. All rights reserved. https://xdsoft.net */ import type { IJodit, SnapshotType } from '../../types'; import { ViewComponent } from '../../core/component'; import { Snapshot } from './snapshot'; import { Stack } from './stack'; declare module '../../config' { interface Config { observer: { maxHistoryLength: number; timeout: number; }; } } export declare class Observer extends ViewComponent { className(): string; private __startValue; get startValue(): SnapshotType; set startValue(value: SnapshotType); stack: Stack; snapshot: Snapshot; private updateTick; upTick(): void; private onChange; private updateStack; redo(): void; undo(): void; clear(): void; replaceSnapshot(): void; private fireChangeStack; constructor(editor: IJodit); destruct(): void; }