/** * Add paths to the filedist-managed section in .gitignore. * Creates the file if it does not exist. * Always includes the MARKER_FILE itself in the managed section. */ export declare function addToGitignore(markerDir: string, paths: string[]): Promise; /** * Read the paths currently listed in the filedist-managed section. */ export declare function readManagedGitignoreEntries(markerDir: string): Set; /** * Remove specific paths from the filedist-managed section in .gitignore. * Removes the entire section if no paths remain. Deletes the file if empty. */ export declare function removeFromGitignore(markerDir: string, paths: string[]): Promise; /** * Replace the entire filedist-managed gitignore section with a new set of paths. */ export declare function updateGitignoreSection(markerDir: string, managedPaths: string[], createIfMissing: boolean): void; //# sourceMappingURL=gitignore.d.ts.map