export declare class FileError extends Error { readonly path: string; constructor(message: string, filePath: string); } export declare class PatchError extends Error { constructor(message: string); } export declare class ConfigError extends Error { constructor(message: string); } export declare function readTextFile(filePath: string): Promise; export declare function writeTextFile(filePath: string, content: string): Promise; export declare function appendTextFile(filePath: string, content: string): Promise; export declare function fileExists(filePath: string): Promise; export declare function ensureTextFile(filePath: string, defaultContent: string): Promise; export declare function removeFile(filePath: string): Promise; //# sourceMappingURL=fs.d.ts.map