import { ILoadOptions } from './type-redirects'; import { URI } from '@vscode-alt/monaco-editor/esm/vs/base/common/uri'; export interface IUntitledFileEditorModel { load(resource: URI, options?: ILoadOptions): Promise; /** * Get the configured encoding for the given untitled resource if any. */ getEncoding(resource: URI): string | undefined; setEncoding(resource: URI, encoding: string): void; }