import { ManagedFileMetadata } from '../types'; /** * Read all managed file entries from a .filedist marker file. * Format: path|packageName|packageVersion|kind|checksum|mutable * Pipe is used as separator so file paths containing commas are handled safely. * mutable column: '1' = mutable, '0' or absent = not mutable. * * A trailing self-checksum row `.|` covers all entry rows. * When present, integrity is verified and an error is thrown on mismatch. */ export declare function readMarker(markerFilePath: string): Promise; /** * Write managed file entries to a .filedist marker file. * Format: path|packageName|packageVersion|kind|checksum|mutable * mutable column: '1' = mutable, '0' = not mutable. * Trailing columns up to (but not including) the last meaningful one are always written. * A self-checksum row `.|` is appended after all entry rows. * Makes the file read-only after writing. */ export declare function writeMarker(markerFilePath: string, entries: ManagedFileMetadata[]): Promise; /** * Returns the path of the .filedist marker file for a given output directory. */ export declare function markerPath(outputDir: string): string; /** * Read all managed file entries from an output directory's .filedist marker. */ export declare function readOutputDirMarker(outputDir: string): Promise; //# sourceMappingURL=markers.d.ts.map