import type { StorageStat, StorageType } from './types.js'; import type { Readable } from 'stream'; import LuzzleStorage from './abstract.js'; declare class StorageFileSystem extends LuzzleStorage { type: StorageType; root: string; constructor(root: string); private resolvePath; parseArgPath(argPath: string): string; readFile(path: string, format?: 'text'): Promise; writeFile(path: string, contents: string | Buffer | Readable): Promise; getFilesIn(dir: string, options?: { deep?: boolean; }): Promise; exists(path: string): Promise; delete(path: string): Promise; stat(path: string): Promise; createReadStream(path: string): import("fs").ReadStream; createWriteStream(path: string): import("fs").WriteStream; makeDirectory(path: string): Promise; } export default StorageFileSystem;