import type { ToolDefinition } from "../tools/types.js"; export type TodoStatus = "pending" | "in_progress" | "completed" | "blocked"; export type TodoPriority = "critical" | "high" | "medium" | "low"; export interface Todo { id: string; content: string; activeForm?: string; status: TodoStatus; priority: TodoPriority; subtasks?: Todo[]; updatedAt: number; agentName?: string; } export interface TodoState { todos: Todo[]; lastUpdated: number; sessionId?: string; } export declare class TodoModule { private state; private listeners; constructor(sessionId?: string); write(todos: Todo[]): void; getState(): TodoState; updateStatus(id: string, status: TodoStatus): boolean; getActive(): Todo[]; getCurrentFocus(): Todo | undefined; isComplete(): boolean; onChange(callback: (state: TodoState) => void): () => void; private notify; getTools(): ToolDefinition[]; private createWriteTool; private createReadTool; toJSON(): TodoState; static fromJSON(json: TodoState): TodoModule; toContextString(): string; } //# sourceMappingURL=todo-module.d.ts.map