/**
 * BackgroundTaskCard -- compact card displayed below the input box for
 * tasks running in the background (launched via Ctrl+B).
 *
 * Mirrors Claude Code's background task UX:
 *   - Running tasks show a spinner + agent name + elapsed time
 *   - Completed tasks show a checkmark + elapsed time
 *   - Failed tasks show a cross + elapsed time
 *   - Ctrl+O expands/collapses task output
 *   - Down arrow from empty input navigates to background tasks
 *
 * All colors from useTheme() semantic tokens.
 */
import React from 'react';
export interface BackgroundTask {
    /** Unique identifier for this background task. */
    agentId: string;
    /** Display name (truncated prompt or agent name). */
    name: string;
    /** Current execution status. */
    status: 'running' | 'completed' | 'failed';
    /** Unix timestamp (ms) when the task started. */
    startedAt: number;
    /** Elapsed time in ms (snapshot for completed/failed tasks). */
    elapsedMs: number;
    /** Brief summary on completion. */
    summary?: string;
    /** Full output text (shown when expanded). */
    output?: string;
    /** Whether the output panel is expanded. */
    expanded: boolean;
}
interface BackgroundTaskCardProps {
    task: BackgroundTask;
    isFocused: boolean;
    onToggleExpand: () => void;
}
export declare function BackgroundTaskCard({ task, isFocused, onToggleExpand, }: BackgroundTaskCardProps): React.ReactElement;
export {};
