import type { IFileSystem, FsStat } from "just-bash"; import type { DirentEntry } from "../../core/types.js"; import { PgFileSystem } from "../../core/filesystem.js"; /** * Wraps a PgFileSystem instance to implement the just-bash IFileSystem interface. * * Usage: * ```ts * import { PostgresFileSystem } from "bash-gres/just-bash"; * import { Bash } from "just-bash"; * * const fs = new PostgresFileSystem(pgFs); * const bash = new Bash({ fs }); * ``` */ export declare class PostgresFileSystem implements IFileSystem { private readonly fs; constructor(fs: PgFileSystem); readFile(path: string, _options?: { encoding?: string | null; } | string): Promise; readFileBuffer(path: string): Promise; writeFile(path: string, content: string | Uint8Array, _options?: { encoding?: string; } | string): Promise; appendFile(path: string, content: string | Uint8Array, _options?: { encoding?: string; } | string): Promise; exists(path: string): Promise; stat(path: string): Promise; lstat(path: string): Promise; realpath(path: string): Promise; resolvePath(base: string, path: string): string; mkdir(path: string, options?: { recursive?: boolean; }): Promise; readdir(path: string): Promise; readdirWithFileTypes(path: string): Promise; rm(path: string, options?: { recursive?: boolean; force?: boolean; }): Promise; cp(src: string, dest: string, options?: { recursive?: boolean; }): Promise; mv(src: string, dest: string): Promise; chmod(path: string, mode: number): Promise; utimes(path: string, _atime: Date, mtime: Date): Promise; symlink(target: string, linkPath: string): Promise; link(existingPath: string, newPath: string): Promise; readlink(path: string): Promise; getAllPaths(): string[]; } //# sourceMappingURL=adapter.d.ts.map