import type { SubagentManager } from '../../../agent/subagent.js'; import type { SlashContext } from '../../slash/types.js'; import type { InteractiveCtx } from './shared.js'; export interface TaskViewEntry { id: string; manager: SubagentManager; sessionLabel: string; ctx: SlashContext; ictx?: InteractiveCtx; } export declare function renderTaskViewHeader(id: string, status: string, agentType?: string): string; export declare function buildTaskFooterLine(isRunning: boolean): string; export declare function exitTaskViewMode(entry: TaskViewEntry): void; export declare function enterTaskViewMode(entry: TaskViewEntry): Promise;