import { URI } from '@vscode-alt/monaco-editor/esm/vs/base/common/uri'; export declare enum JSONEditingErrorCode { /** * Error when trying to write and save to the file while it is dirty in the editor. */ ERROR_FILE_DIRTY = 0, /** * Error when trying to write to a file that contains JSON errors. */ ERROR_INVALID_FILE = 1 } export interface IJSONValue { key: string; value: any; } export interface IJSONEditingService { write(resource: URI, value: IJSONValue, save: boolean): Promise; }