import type { DiffFiles } from "./parser.js"; /** * Applies the changes described by the DiffFiles to the filesystem. * @param files - An array of DiffFile objects. * @param format - Whether to format the code using Prettier before writing. */ export declare function applyChanges(files: DiffFiles, format?: boolean): Promise; /** * Prompts the user to confirm which files to update. * @param filesToUpdate - The list of files proposed for changes. * @param options - Options including a top message and whether to allow unsafe paths. * @returns A filtered list of files that the user confirmed. */ export declare function confirmAction(filesToUpdate: DiffFiles, options: { topMessage?: string; allowUnsafe?: boolean; }): Promise; //# sourceMappingURL=actions.d.ts.map