import FileTreeNode from '../model/FileTreeNode'; export interface ScriptEditorSnapshotContent { tabItems: Array<{ label: string; value: string; }>; changeList: Array; saveStatus: string; showSaveButton: boolean; currentMenuFile: FileTreeNode | null; currentFile: FileTreeNode | null; } export default interface UIStateSnapshot { snapshot: (data: ScriptEditorSnapshotContent) => Promise; recover: () => Promise; clear: () => Promise; }