import { Disposable } from "@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle"; import { IEditorSerializer } from "@codingame/monaco-vscode-api/vscode/vs/workbench/common/editor"; import { EditorInput } from "@codingame/monaco-vscode-api/vscode/vs/workbench/common/editor/editorInput"; import { ITextEditorService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/textfile/common/textEditorService.service"; import { IInstantiationService } from "@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/instantiation"; import { IWorkbenchEnvironmentService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/environment/common/environmentService.service"; import { IFilesConfigurationService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/filesConfiguration/common/filesConfigurationService.service"; import { IPathService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/path/common/pathService.service"; import { UntitledTextEditorInput } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/untitled/common/untitledTextEditorInput"; import { IWorkbenchContribution } from "@codingame/monaco-vscode-api/vscode/vs/workbench/common/contributions"; import { IWorkingCopyIdentifier } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/workingCopy/common/workingCopy"; import { IWorkingCopyEditorHandler } from "@codingame/monaco-vscode-working-copy-service-override/vscode/vs/workbench/services/workingCopy/common/workingCopyEditorService"; import { IWorkingCopyEditorService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/workingCopy/common/workingCopyEditorService.service"; import { IUntitledTextEditorService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/untitled/common/untitledTextEditorService.service"; export declare class UntitledTextEditorInputSerializer implements IEditorSerializer { private readonly filesConfigurationService; private readonly environmentService; private readonly pathService; constructor(filesConfigurationService: IFilesConfigurationService, environmentService: IWorkbenchEnvironmentService, pathService: IPathService); canSerialize(editorInput: EditorInput): boolean; serialize(editorInput: EditorInput): string | undefined; deserialize(instantiationService: IInstantiationService, serializedEditorInput: string): UntitledTextEditorInput; } export declare class UntitledTextEditorWorkingCopyEditorHandler extends Disposable implements IWorkbenchContribution, IWorkingCopyEditorHandler { private readonly environmentService; private readonly pathService; private readonly textEditorService; private readonly untitledTextEditorService; static readonly ID = "workbench.contrib.untitledTextEditorWorkingCopyEditorHandler"; constructor(workingCopyEditorService: IWorkingCopyEditorService, environmentService: IWorkbenchEnvironmentService, pathService: IPathService, textEditorService: ITextEditorService, untitledTextEditorService: IUntitledTextEditorService); handles(workingCopy: IWorkingCopyIdentifier): boolean; isOpen(workingCopy: IWorkingCopyIdentifier, editor: EditorInput): boolean; createEditor(workingCopy: IWorkingCopyIdentifier): EditorInput; }