/** * Powerbar segment formatting for gob running jobs. * * Each job with historical run data renders its own progress bar. * Jobs without progress data are grouped: 1 shows its command, N shows "N jobs". * Parts are joined with " · ". * * Examples: * 1 job, no history: "⚙ npm run dev" * 1 job, with history: "⚙ npm run dev ████░░░░ 57%" * mixed: "⚙ npm run dev ████░░░░ 57% · 2 jobs" * all with history: "⚙ npm run dev ████░░░░ 57% · make build ████████ 100%" */ import type { JobResponse } from "./types.js"; export interface SegmentData { text: string; icon: string; color: string; } /** * Format running jobs into a powerbar segment payload. */ export declare function formatJobSegment(jobs: JobResponse[]): SegmentData; //# sourceMappingURL=segment.d.ts.map