import { WidgetLSPAdapter } from '@jupyterlab/lsp'; import type * as lsProtocol from 'vscode-languageserver-protocol'; import { VirtualDocument } from './virtual/document'; export interface IEditOutcome { appliedChanges: number | null; modifiedCells: number; wasGranular: boolean; errors: string[]; } export declare class EditApplicator { protected virtualDocument: VirtualDocument; protected adapter: WidgetLSPAdapter; constructor(virtualDocument: VirtualDocument, adapter: WidgetLSPAdapter); applyEdit(workspaceEdit: lsProtocol.WorkspaceEdit): Promise; /** * Does the edit cover the entire document? */ private _isWholeDocumentEdit; private _replaceFragment; private _applySingleEdit; }