import type { GoalRun } from "../../core/goal-store.js";
export type GoalStatusPhase = "worker" | "verifier" | "reviewing" | "orchestrating" | "failed";
export interface GoalStatusEntry {
    runId: string;
    label: string;
    phase: GoalStatusPhase;
    startedAt: number;
    detail?: string;
    workerId?: string;
    goalNumber?: number;
}
export declare function formatGoalElapsed(ms: number): string;
export declare function formatGoalStatusActiveText(entry: GoalStatusEntry): string;
export declare function syncGoalStatusEntries(previous: readonly GoalStatusEntry[], entry: GoalStatusEntry): GoalStatusEntry[];
export declare function removeGoalStatusEntry(previous: readonly GoalStatusEntry[], runId: string): GoalStatusEntry[];
export interface ReconcileGoalStatusEntriesOptions {
    isWorkerActive?: (workerId: string, run: GoalRun) => boolean;
    isVerifierActive?: (run: GoalRun) => boolean;
}
export declare function reconcileGoalStatusEntriesWithRuns(previous: readonly GoalStatusEntry[], runs: readonly GoalRun[], options?: ReconcileGoalStatusEntriesOptions): GoalStatusEntry[];
export declare function GoalStatusBar({ entries }: {
    entries: readonly GoalStatusEntry[];
}): import("react/jsx-runtime").JSX.Element | null;
//# sourceMappingURL=GoalStatusBar.d.ts.map