import { ITextModel, Uri } from '@opensumi/ide-monaco'; import { IResourceUndoRedoElement, UndoRedoElementType } from '@opensumi/monaco-editor-core/esm/vs/platform/undoRedo/common/undoRedo'; import { LivePreviewDiffDecorationModel } from './live-preview.decoration'; export declare class LivePreviewUndoRedoStackElement implements IResourceUndoRedoElement { private readonly model; private decorationModel; get type(): UndoRedoElementType.Resource; get label(): string; get code(): string; get resource(): Uri; confirmBeforeUndo: boolean; constructor(model: ITextModel); attachModel(newDecorationModel: LivePreviewDiffDecorationModel): void; private _undo; registerUndo(undo: (model: LivePreviewDiffDecorationModel) => void): void; undo(): void | Promise; private _redo; registerRedo(redo: (model: LivePreviewDiffDecorationModel) => void): void; redo(): void; } //# sourceMappingURL=live-preview-stack.d.ts.map