import { BaseChatModule } from "./BaseChatModule";
import { ChatCommand } from "../types";
import { AgentModule } from "./AgentModule";
import { TaskInfo, ChatSession } from "../types";
export declare class SessionsModule extends BaseChatModule {
    name: string;
    description: string;
    private agentModule;
    constructor(agentModule: AgentModule);
    getCommands(): ChatCommand[];
    handleLogsCommand(args: string[]): Promise<void>;
    private selectByNumber;
    handleAttachCommand(args: string[]): Promise<void>;
    private attachById;
    handleResumeCommand(args: string[]): Promise<void>;
    private resumeById;
    handleSessionsCommand(args: string[]): Promise<void>;
    logSessionTable(all?: boolean, csv?: boolean, includeFs?: boolean): Promise<void>;
    private printRunningTable;
    private printSavedSessionsTable;
    private logSessionsCompact;
    private logSessionsCsv;
    private attachToFsAgent;
    private attachToWebAgent;
    private readFsAgentStatus;
    private getFsAgents;
    private getFsAgentsIncludingCompleted;
    listAvailableSessions(): Promise<ChatSession[]>;
    listSessionsAndTasks(): Promise<{
        runningTasks: TaskInfo[];
        savedSessions: ChatSession[];
    }>;
}
