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