import type { ActualsWip } from '../../types/index.js';
/**
 * Returns the path to the WIP JSON file for a given spec.
 */
export declare function getWipPath(projectDataDir: string, specId: string): string;
/**
 * Reads WIP actuals for a spec from disk.
 * Returns null if the file does not exist or cannot be parsed.
 */
export declare function readWip(projectDataDir: string, specId: string): ActualsWip | null;
/**
 * Writes WIP actuals for a spec to disk.
 * Creates the directory if it does not exist.
 */
export declare function writeWip(projectDataDir: string, specId: string, wip: ActualsWip): void;
/**
 * Deletes the WIP actuals file for a spec if it exists.
 */
export declare function deleteWip(projectDataDir: string, specId: string): void;
/**
 * Reads existing WIP, merges updates, and writes back.
 * If no existing WIP, creates a new one with defaults merged with updates.
 */
export declare function updateWip(projectDataDir: string, specId: string, updates: Partial<ActualsWip>): ActualsWip;
//# sourceMappingURL=wip-tracker.d.ts.map