/** * @license * Copyright 2025 Vybestack LLC * SPDX-License-Identifier: Apache-2.0 */ import { type Todo } from './todo-schemas.js'; export declare class TodoStore { private readonly filePath; constructor(sessionId: string, agentId?: string); /** * Parse file content handling both legacy (Todo[]) and new ({ todos, paused }) formats. */ private parseFileContent; /** * Read the full file data including todos and paused state. */ private readFileData; /** * Write the full file data including todos and paused state. */ private writeFileData; readTodos(): Promise; writeTodos(todos: Todo[]): Promise; /** * Read the paused state from the todo file. * Returns false if file doesn't exist or is in legacy format. */ readPausedState(): Promise; /** * Write the paused state to the todo file. * Preserves existing todos. */ writePausedState(paused: boolean): Promise; }