/** * Leaper Agent – Todo Tool * In-session task management: add, list, complete, remove todos. */ import type { ToolDefinition } from './registry.js'; export type TodoStatus = 'pending' | 'in_progress' | 'completed' | 'cancelled'; export type TodoPriority = 'low' | 'medium' | 'high' | 'critical'; export interface TodoItem { id: string; title: string; description?: string; status: TodoStatus; priority: TodoPriority; due_date?: string; created_at: string; updated_at: string; tags?: string[]; } export interface TodoStore { items: TodoItem[]; } export declare function addTodo(title: string, opts?: { description?: string; priority?: TodoPriority; due_date?: string; tags?: string[]; }): TodoItem; export declare function listTodos(filter?: { status?: TodoStatus; priority?: TodoPriority; }): TodoItem[]; export declare function getTodo(id: string): TodoItem | undefined; export declare function updateTodo(id: string, updates: Partial>): TodoItem | null; export declare function completeTodo(id: string): TodoItem | null; export declare function removeTodo(id: string): boolean; export declare function clearCompleted(): number; export declare function replaceAll(items: TodoItem[]): void; export declare function getStore(): TodoStore; export declare function resetStore(): void; export declare function summarizeTodos(): string; export declare const todoTool: ToolDefinition; //# sourceMappingURL=todo.d.ts.map