import { CellExecution, NotebookExecutionStateService } from '../service/notebook-execution-state-service'; import { NotebookCellModel } from '../view-model/notebook-cell-model'; import { NotebookModel } from '../view-model/notebook-model'; import { NotebookKernelService } from './notebook-kernel-service'; import { CommandService, Disposable, ILogger } from '@theia/core'; import { NotebookKernelQuickPickService } from './notebook-kernel-quick-pick-service'; import { NotebookKernelHistoryService } from './notebook-kernel-history-service'; export interface CellExecutionParticipant { onWillExecuteCell(executions: CellExecution[]): Promise; } export declare class NotebookExecutionService { protected notebookExecutionStateService: NotebookExecutionStateService; protected notebookKernelService: NotebookKernelService; protected notebookKernelHistoryService: NotebookKernelHistoryService; protected commandService: CommandService; protected notebookKernelQuickPickService: NotebookKernelQuickPickService; protected readonly logger: ILogger; protected readonly cellExecutionParticipants: Set; executeNotebookCells(notebook: NotebookModel, cells: Iterable): Promise; registerExecutionParticipant(participant: CellExecutionParticipant): Disposable; protected runExecutionParticipants(executions: CellExecution[]): Promise; cancelNotebookCellHandles(notebook: NotebookModel, cells: Iterable): Promise; cancelNotebookCells(notebook: NotebookModel, cells: Iterable): Promise; } //# sourceMappingURL=notebook-execution-service.d.ts.map