export type FileMeta = { name: string; lastModified: number; }; export interface ProxyFileSystem { readFile( path: string, encoding: "utf8" | "dataurl", ): Promise; getFileMeta(path: string): Promise; writeFile( path: string, text: string, encoding: "utf8" | "dataurl", ): Promise; deleteFile(path: string): Promise; listFiles( path: string, ): Promise; }