import type { FileMetadata, ListDirOptions, SerializedFileStats } from '../types';
export declare function listDirectory(options: ListDirOptions): Promise<FileMetadata[]>;
export declare function readFile(filePath: string): Promise<string>;
export declare function writeFile(filePath: string, contents: string): Promise<void>;
type ReadFileOptions = BufferEncoding | {
    encoding?: BufferEncoding | null;
} | null | undefined;
type WriteFileOptions = BufferEncoding | {
    encoding?: BufferEncoding | null;
} | null | undefined;
export declare function readFileWithEncoding(filePath: string, options?: ReadFileOptions): Promise<string | Buffer>;
export declare function writeFileWithEncoding(filePath: string, data: string | Uint8Array, options?: WriteFileOptions): Promise<void>;
export declare function statPath(targetPath: string): Promise<SerializedFileStats>;
export declare function accessPath(targetPath: string, mode?: number): Promise<void>;
export declare function mkdirPath(targetPath: string, options?: import('node:fs').MakeDirectoryOptions): Promise<void>;
export declare function removePath(targetPath: string, options?: import('node:fs').RmOptions): Promise<void>;
export {};
//# sourceMappingURL=fileSystem.d.ts.map