/** * @license * Copyright 2025 Vybestack LLC * SPDX-License-Identifier: Apache-2.0 */ import { type Todo, type TodoToolCall } from '../tools/todo-schemas.js'; export interface GroupedToolCall { toolCall: TodoToolCall; count: number; } export interface TodoFormatterOptions { header?: string; includeSummary?: boolean; maxToolCalls?: number; getLiveToolCalls?: (todoId: string) => TodoToolCall[]; } /** * Groups consecutive identical tool calls to create a concise textual representation. */ export declare const groupToolCalls: (toolCalls: TodoToolCall[]) => GroupedToolCall[]; /** * Produces a textual representation of todos that mirrors the information shown in the Ink Todo panel. */ export declare const formatTodoListForDisplay: (todos: Todo[], options?: TodoFormatterOptions) => string;