import type { ApprovalChoice, ApprovalQueueInfo, TaskSpawnApprovalData } from '../../app/approvals/types.js';
import { Container, type TUI } from '../../tui/index.js';
import type { Theme } from '../theme/runtime.js';
export declare class TaskSpawnApprovalComponent extends Container {
    private readonly data;
    private readonly theme;
    private readonly onDone;
    private readonly queueInfo?;
    private readonly buttonBar;
    private expanded;
    /** Build the approval component for one or more subagent spawn requests. */
    constructor(data: TaskSpawnApprovalData[], theme: Theme, onDone: (choice: ApprovalChoice) => void, queueInfo?: ApprovalQueueInfo, _viewport?: number | Pick<TUI, 'terminal'> | {
        rows: number;
    });
    /** Re-render the approval container's children based on current state. */
    private renderContent;
    /** Route key input to button bar or expand toggle. */
    handleInput(keyData: string): void;
}
//# sourceMappingURL=task-spawn-approval.d.ts.map