import { TaskInfo, ChatSession } from "../chat/types";
export declare class SessionManager {
    private sessionsDir;
    constructor(sessionsDir?: string);
    private ensureSessionsDirectoryExists;
    generateTaskId(initialInput: string): string;
    saveSession(taskId: string, taskInfo: TaskInfo, threads: any[]): void;
    updateSession(taskId: string, taskInfo: TaskInfo | undefined, threads: any[]): void;
    loadSession(sessionId: string): ChatSession | null;
    listAvailableSessions(): ChatSession[];
    sessionExists(sessionId: string): boolean;
    deleteSession(sessionId: string): boolean;
    logSessionTable(runningTasks: TaskInfo[], savedSessions: ChatSession[]): Promise<void>;
    logRunningTasks(runningTasks: TaskInfo[], savedSessions: ChatSession[]): Promise<void>;
    discoverFsAgents(registeredIds: Set<string>, includeCompleted?: boolean): Promise<Array<{
        taskId: string;
        agentName: string;
        status: string;
        totalCostUsd?: number;
    }>>;
}
