import { ExtractionMap, OutputConfig, PackageConfig, ExecuteResult, ManagedFileMetadata } from '../types'; /** * Apply an ExtractionMap to disk: * - Copy toAdd and toModify files from source to dest * - Make files read-only when readonly option is set * - Delete toDelete files * - Update .filedist marker file (unless dryRun or unmanaged) * - Update .gitignore (unless dryRun, unmanaged, or gitignore=false) * * @param map The ExtractionMap produced by diff(). * @param outputDir Absolute path to the output directory. * @param outputConfig OutputConfig controlling write behaviour. * @param pkg PackageConfig for marker metadata. * @param pkgVersion Installed package version for marker metadata. * @param existingMarker Existing managed file entries (for incremental update). * @param cwd Working directory (kept for API compatibility). * @returns ExecuteResult with counts and list of newly created files for rollback. */ export declare function execute(map: ExtractionMap, outputDir: string, outputConfig: OutputConfig, pkg: PackageConfig, pkgVersion: string, existingMarker: ManagedFileMetadata[], _cwd?: string, verbose?: boolean): Promise; /** * Delete a list of files from disk and make them writable first. * Used for deferred deletions after all filesets have been processed. */ export declare function deleteFiles(filePaths: string[], verbose?: boolean): Promise; /** * Rollback: delete newly created files (those that did not exist before this run). */ export declare function rollback(newlyCreated: string[]): Promise; //# sourceMappingURL=execute.d.ts.map