import { AgentChatMessage, AgentMetadata } from "../services/agentService";
export interface TodoItem {
    id?: string;
    title: string;
    status?: string;
    instructions?: string;
    agentProfileId?: string;
    messageId?: string;
    sourceTitle?: string;
}
export declare const extractPartialTodos: (jsonText: string) => any[];
export declare const extractTodosFromMessages: (messages: AgentChatMessage[]) => TodoItem[];
/**
 * Returns the effective todo list for an agent: prefers the server-pushed
 * `additionalData.todoList.items` on the metadata, falling back to parsing
 * fenced/plain `todo_list` blocks out of the assistant messages.
 */
export declare function computeAgentTodos(messages: AgentChatMessage[], agentMetadata: AgentMetadata | null): TodoItem[];
