import type { AgentStatusDetail, TaskInfo } from '../lib/teams/api.js';
export interface TeamRow {
    team: TaskInfo;
    agents: AgentStatusDetail[];
    description?: string;
    /** Short id of the session that spawned this team, when the index knows it. */
    spawnedBy?: string;
}
export interface PickedTeam {
    team: string;
}
/** Format a single team as a one-line row for the list table or picker label. */
export declare function formatTeamRow(row: TeamRow, nameWidth: number, compositionWidth: number): string;
/** Build a multi-line preview string for the picker's detail pane. */
export declare function buildTeamPreview(row: TeamRow): string;
/** Print a non-interactive team table to stdout (used when output is piped). */
export declare function printTeamTable(rows: TeamRow[]): void;
/** Show an interactive team picker with fuzzy search and return the selected team name. */
export declare function teamPicker(rows: TeamRow[], initialSearch?: string): Promise<PickedTeam | null>;
