import { NotebookKernelsExt, NotebookKernelSourceActionDto, PluginModel } from '../../common'; import { RPCProtocol } from '../../common/rpc-protocol'; import { UriComponents } from '../../common/uri-components'; import { Disposable } from '@theia/core'; import { NotebooksExtImpl } from './notebooks'; import { NotebookCellExecutionState } from '@theia/notebook/lib/common'; import { CommandRegistryImpl } from '../command-registry'; import { NotebookRendererScript } from '../types-impl'; import type * as theia from '@theia/plugin'; import { WebviewsExtImpl } from '../webviews'; import { WorkspaceExtImpl } from '../workspace'; export declare class NotebookKernelsExtImpl implements NotebookKernelsExt { private readonly notebooks; private readonly commands; private readonly webviews; private readonly activeExecutions; private readonly kernelData; private readonly proxy; private readonly logger; private kernelDetectionTasks; private currentKernelDetectionTaskHandle; private kernelSourceActionProviders; private currentSourceActionProviderHandle; private readonly onDidChangeCellExecutionStateEmitter; readonly onDidChangeNotebookCellExecutionState: import("@theia/core").Event; constructor(rpc: RPCProtocol, notebooks: NotebooksExtImpl, commands: CommandRegistryImpl, webviews: WebviewsExtImpl, workspace: WorkspaceExtImpl); private currentHandle; createNotebookController(extension: PluginModel, id: string, viewType: string, label: string, handler?: (cells: theia.NotebookCell[], notebook: theia.NotebookDocument, controller: theia.NotebookController) => void | Thenable, rendererScripts?: NotebookRendererScript[]): theia.NotebookController; createNotebookCellExecution(cell: theia.NotebookCell, controllerId: string): theia.NotebookCellExecution; createNotebookControllerDetectionTask(viewType: string): theia.NotebookControllerDetectionTask; registerKernelSourceActionProvider(viewType: string, provider: theia.NotebookKernelSourceActionProvider): Disposable; $acceptNotebookAssociation(handle: number, uri: UriComponents, selected: boolean): Promise; $executeCells(handle: number, uri: UriComponents, handles: number[]): Promise; $cancelCells(handle: number, uri: UriComponents, handles: number[]): Promise; $acceptKernelMessageFromRenderer(handle: number, editorId: string, message: unknown): void; $cellExecutionChanged(uri: UriComponents, cellHandle: number, state: NotebookCellExecutionState | undefined): void; $provideKernelSourceActions(handle: number, token: theia.CancellationToken): Promise; } export declare function createKernelId(extensionIdentifier: string, id: string): string; //# sourceMappingURL=notebook-kernels.d.ts.map