import type { DriverInterface, Encoding, FileStats } from "./interface"; import type { Readable } from "node:stream"; /** * LocalFSDriver is a Driver for the local disc */ export declare class LocalFSDriver implements DriverInterface { private readonly currentDir; constructor(dir?: string); fileList(): Promise; stat(fileName: string): Promise; statSync(fileName: string): FileStats; readFile(fileName: string): Promise; readFile(fileName: string, encoding: Encoding): Promise; openReadStream(fileName: string): Promise; writeFile(fileName: string, data: string | Buffer): Promise; }