import type { AgentRun } from "../../progress/types.js";
type AgentRunDto = AgentRun;
type RunsTrayTriggerVariant = "icon" | "pill";
interface RunsTrayProps {
/** Poll interval in ms. 0 disables. Default 3000. */
pollMs?: number;
/** Max runs to show in the dropdown. Default 5. */
limit?: number;
/** Hide the trigger entirely when no active runs. Default true. */
hideWhenIdle?: boolean;
/** Include recent terminal runs instead of active runs only. Defaults to !hideWhenIdle. */
showRecent?: boolean;
/** Compact icon for app headers, or a labeled pill for the agent panel. */
triggerVariant?: RunsTrayTriggerVariant;
/** Called when a run can open a related agent chat thread. */
onOpenThread?: (threadId: string, run: AgentRunDto) => void;
align?: "start" | "center" | "end";
className?: string;
}
/**
* Header-bar progress indicator. Shows a spinner icon or labeled Runs pill
* with a count badge when runs are active; opens a popover with live progress.
* Same inline-header pattern as — drop it into the
* header, no floating overlay over the main content.
*/
export declare function RunsTray({ pollMs, limit, hideWhenIdle, showRecent, triggerVariant, onOpenThread, align, className, }: RunsTrayProps): import("react").JSX.Element | null;
export declare function RunsTrayMenuItem({ pollMs, limit, hideWhenIdle, showRecent, onOpenThread, }: Pick): import("react").JSX.Element | null;
export {};
//# sourceMappingURL=RunsTray.d.ts.map