initState: {
    autoPreview: boolean;
    currentContent: string;
    currentFile: undefined | null | Doc;
    currentRepo: undefined | Repo;
    currentRepoIndexStatus: null | {
        repo: string;
        status: IndexStatus;
    };
    editor: string;
    editorPreviewExclusive: boolean;
    inComposition: boolean;
    isFullscreen: boolean;
    presentation: boolean;
    previewer: string;
    recentOpenTime: Record<string, number>;
    showEditor: boolean;
    showExport: boolean;
    showOutline: boolean;
    showSetting: boolean;
    showSide: boolean;
    showView: boolean;
    showXterm: boolean;
    syncScroll: boolean;
    tabs: Components.FileTabs.Item[];
    tree: null | Components.Tree.Node[];
    treeSort: FileSort;
    typewriterMode: boolean;
    wordWrap: "on" | "off";
} = ...