import { IDisposable } from "../../../../base/common/lifecycle.js"; import { IContextKeyService } from "../../../../platform/contextkey/common/contextkey.service.js"; import { NotebookCellTextModel } from "./model/notebookCellTextModel.js"; import { INotebookTextModel } from "./notebookCommon.js"; import { ICellExecutionParticipant } from "./notebookExecutionService.js"; export declare const INotebookExecutionService: import("../../../../platform/instantiation/common/instantiation.js").ServiceIdentifier; export interface INotebookExecutionService { _serviceBrand: undefined; executeNotebookCells(notebook: INotebookTextModel, cells: Iterable, contextKeyService: IContextKeyService): Promise; cancelNotebookCells(notebook: INotebookTextModel, cells: Iterable): Promise; cancelNotebookCellHandles(notebook: INotebookTextModel, cells: Iterable): Promise; registerExecutionParticipant(participant: ICellExecutionParticipant): IDisposable; }