import type { Entity } from "./baseTypes"; export abstract class FakeFs { abstract kind: string; abstract walk(): Promise; abstract walkPartial(): Promise; abstract stat(key: string): Promise; abstract mkdir(key: string, mtime?: number, ctime?: number): Promise; abstract writeFile( key: string, content: ArrayBuffer, mtime: number, ctime: number ): Promise; abstract readFile(key: string): Promise; abstract rm(key: string): Promise; abstract checkConnect(callbackFunc?: any): Promise; abstract getUserDisplayName(): Promise; abstract revokeAuth(): Promise; abstract allowEmptyFile(): boolean; }