/** Set/replace today's goal. Returns the date and stored goal. */ export declare function setDailyGoal(cwd: string, goal: string): { date: string; goal: string; }; /** Append a timestamped entry (`- HH:MM — `) to today's log. */ export declare function addLogEntry(cwd: string, text: string): { date: string; count: number; }; /** * Delete day-files older than `keepDays` days; returns the removed dates. * Daily files already age out of context (only a breadcrumb is injected and * reads are recency-bounded), so this is disk housekeeping, not a context fix. */ export declare function pruneDailyLog(cwd: string, keepDays: number): string[]; /** Read today + the previous `days` days, newest-first, capped to ~4KB. */ export declare function readDailyLog(cwd: string, days: number): string;