import { IFileSystemProviderWithFileReadWriteCapability, IStat, FileType, IWatchOptions } from 'vscode/vscode/vs/platform/files/common/files';
import { URI } from 'vscode/vscode/vs/base/common/uri';
export declare class MemoryFileSystemProvider implements IFileSystemProviderWithFileReadWriteCapability {
    private readonly _onDidChangeCapabilities;
    readonly onDidChangeCapabilities: vscode.Event<T>;
    private readonly _onDidChangeFile;
    readonly onDidChangeFile: vscode.Event<T>;
    readonly capabilities: number;
    private files;
    stat(resource: URI): Promise<IStat>;
    mkdir(_resource: URI): Promise<void>;
    readdir(_resource: URI): Promise<[string, FileType][]>;
    readFile(resource: URI): Promise<Uint8Array>;
    writeFile(resource: URI, content: Uint8Array): Promise<void>;
    delete(resource: URI): Promise<void>;
    rename(from: URI, to: URI): Promise<void>;
    watch(_resource: URI, _opts: IWatchOptions): {
        dispose(): void;
    };
}
