/** * Todo persistence service * Handles loading and saving todos to .yolo/todos.json */ import type { TodoList, Todo } from '../types/index.js'; /** * Load todos for a working directory * * @param workingDirectory - Absolute path to working directory * @returns TodoList or null if no todos file exists */ export declare function loadTodos(workingDirectory: string): Promise; /** * Save todos for a working directory * * @param workingDirectory - Absolute path to working directory * @param todos - Array of todo items * @throws Error if save fails */ export declare function saveTodos(workingDirectory: string, todos: Todo[]): Promise; /** * Get todo counts by status * * @param todos - Array of todo items * @returns Object with counts for each status */ export declare function getTodoCounts(todos: Todo[]): { pending: number; in_progress: number; completed: number; }; //# sourceMappingURL=todos.d.ts.map