import { Event } from "@codingame/monaco-vscode-api/vscode/vs/base/common/event"; import { Disposable } from "@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle"; import { URI } from "@codingame/monaco-vscode-api/vscode/vs/base/common/uri"; import { IFileOpenOptions, IFileChange, IFileSystemProvider, IStat, IWatchOptions } from "@codingame/monaco-vscode-api/vscode/vs/platform/files/common/files"; import { IDebugSession } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/debug/common/debug"; import { IDebugService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/debug/common/debug.service"; export declare class DebugMemoryFileSystemProvider extends Disposable implements IFileSystemProvider { private readonly debugService; private memoryFdCounter; private readonly fdMemory; private readonly changeEmitter; /** @inheritdoc */ readonly onDidChangeCapabilities: Event; /** @inheritdoc */ readonly onDidChangeFile: Event; /** @inheritdoc */ readonly capabilities: number; constructor(debugService: IDebugService); watch(resource: URI, opts: IWatchOptions): import("@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle").IDisposable; /** @inheritdoc */ stat(file: URI): Promise; /** @inheritdoc */ mkdir(): never; /** @inheritdoc */ readdir(): never; /** @inheritdoc */ delete(): never; /** @inheritdoc */ rename(): never; /** @inheritdoc */ open(resource: URI, _opts: IFileOpenOptions): Promise; /** @inheritdoc */ close(fd: number): Promise; /** @inheritdoc */ writeFile(resource: URI, content: Uint8Array): Promise; /** @inheritdoc */ readFile(resource: URI): Promise>; /** @inheritdoc */ read(fd: number, pos: number, data: Uint8Array, offset: number, length: number): Promise; /** @inheritdoc */ write(fd: number, pos: number, data: Uint8Array, offset: number, length: number): Promise; protected parseUri(uri: URI): { session: IDebugSession; offset: { fromOffset: number; toOffset: number; } | undefined; readOnly: boolean; sessionId: string; memoryReference: string; }; }