import { type TodoTxtSourceRef } from "./normalizer.ts"; export interface RecurResult { newId: string; newTodoLine: string; oldPromptPath: string; newPromptPath: string; } export interface UpdateOptions { todoPath: string; ref: TodoTxtSourceRef; now?: Date; /** Source timezone for hour-unit recurrence wall-clock math. Defaults to UTC. */ timezone?: string; } export declare function withLock(lockPath: string, fn: () => T | Promise): Promise; type StatusMutation = "in-progress" | "in-review" | "done"; export declare function updateTaskStatus(options: UpdateOptions, newStatus: StatusMutation): Promise; export declare function copyPromptFile(oldPath: string, newPath: string): void; export declare function validateTodoFile(todoPath: string, tasksDir: string, knownAgents?: ReadonlySet): string[]; export {}; //# sourceMappingURL=writeback.d.ts.map