import { IBulkEditService } from "@codingame/monaco-vscode-api/vscode/vs/editor/browser/services/bulkEditService.service"; import { ICodeEditorService } from "@codingame/monaco-vscode-api/vscode/vs/editor/browser/services/codeEditorService.service"; import { ILanguageService } from "@codingame/monaco-vscode-api/vscode/vs/editor/common/languages/language.service"; import { IDialogService } from "@codingame/monaco-vscode-api/vscode/vs/platform/dialogs/common/dialogs.service"; import { IFileService } from "@codingame/monaco-vscode-api/vscode/vs/platform/files/common/files.service"; import { IInstantiationService } from "@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/instantiation"; import { ILabelService } from "@codingame/monaco-vscode-api/vscode/vs/platform/label/common/label.service"; import { ILogService } from "@codingame/monaco-vscode-api/vscode/vs/platform/log/common/log.service"; import { IProgressService } from "@codingame/monaco-vscode-api/vscode/vs/platform/progress/common/progress.service"; import { IQuickInputService } from "@codingame/monaco-vscode-api/vscode/vs/platform/quickinput/common/quickInput.service"; import { IEditorService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorService.service"; import { ITextFileService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/textfile/common/textfiles.service"; import { IAiEditTelemetryService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/editTelemetry/browser/telemetry/aiEditTelemetry/aiEditTelemetryService.service"; import { INotebookService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/common/notebookService.service"; import { ICodeMapperService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/editing/chatCodeMapperService.service"; import { IChatService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatService/chatService.service"; import { ICodeBlockActionContext } from "@codingame/monaco-vscode-katex-common/vscode/vs/workbench/contrib/chat/browser/widget/chatContentParts/codeBlockPart"; export declare class InsertCodeBlockOperation { private readonly editorService; private readonly textFileService; private readonly bulkEditService; private readonly codeEditorService; private readonly chatService; private readonly languageService; private readonly dialogService; private readonly aiEditTelemetryService; constructor(editorService: IEditorService, textFileService: ITextFileService, bulkEditService: IBulkEditService, codeEditorService: ICodeEditorService, chatService: IChatService, languageService: ILanguageService, dialogService: IDialogService, aiEditTelemetryService: IAiEditTelemetryService); run(context: ICodeBlockActionContext): Promise; private handleNotebookEditor; private handleTextEditor; private notify; } export declare class ApplyCodeBlockOperation { private readonly editorService; private readonly textFileService; private readonly chatService; private readonly fileService; private readonly dialogService; private readonly logService; private readonly codeMapperService; private readonly progressService; private readonly quickInputService; private readonly labelService; private readonly instantiationService; private readonly notebookService; constructor(editorService: IEditorService, textFileService: ITextFileService, chatService: IChatService, fileService: IFileService, dialogService: IDialogService, logService: ILogService, codeMapperService: ICodeMapperService, progressService: IProgressService, quickInputService: IQuickInputService, labelService: ILabelService, instantiationService: IInstantiationService, notebookService: INotebookService); run(context: ICodeBlockActionContext): Promise; private evaluateURIToUse; private handleNotebookEditor; private handleTextEditor; private getTextEdits; private getNotebookEdits; private waitForFirstElement; private applyWithInlinePreview; private applyNotebookEditsWithInlinePreview; private tryToRevealCodeBlock; private notify; } /** * Returns: * - level: the line's the ident level in tabs * - length: the number of characters of the leading whitespace */ export declare function computeIndentation(line: string, tabSize: number): { level: number; length: number; };