import { Tree } from "@nx/devkit"; /** * Reads a file from an NX Tree, applies an updater function, and writes it back if changed. * * @param tree - File system tree * @param path - Path to source file in the Tree * @param updater - Function that maps the current file content to new content */ export declare const updateFileInTree: (tree: Tree, path: string, updater: (fileContent: string) => string) => void; /** * Deletes a file from an NX Tree. No-op if the file does not exist. * * @param tree - File system tree * @param path - Path to source file in the Tree */ export declare const deleteFileInTree: (tree: Tree, path: string) => void;