@bastra-recall/statusline 1.0.0 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,3 +1,2 @@
1
- revision=09ecb8c7b41f6c0d70334888879e0e37d5e0503f
1
+ revision=5c376cc2f22f22b6df78c08866ab1e16adc738d4
2
2
  dirty=false
3
- built_at=2026-09-14T00:16:23.677Z
package/dist/browser.d.ts CHANGED
@@ -66,34 +66,34 @@ interface ClaudeHookData {
66
66
  }
67
67
  //#endregion
68
68
  //#region src/themes/dark.d.ts
69
- declare const darkTheme: ColorTheme;
70
- declare const darkAnsi256Theme: ColorTheme;
71
- declare const darkAnsiTheme: ColorTheme;
69
+ export declare const darkTheme: ColorTheme;
70
+ export declare const darkAnsi256Theme: ColorTheme;
71
+ export declare const darkAnsiTheme: ColorTheme;
72
72
  //#endregion
73
73
  //#region src/themes/light.d.ts
74
- declare const lightTheme: ColorTheme;
75
- declare const lightAnsi256Theme: ColorTheme;
76
- declare const lightAnsiTheme: ColorTheme;
74
+ export declare const lightTheme: ColorTheme;
75
+ export declare const lightAnsi256Theme: ColorTheme;
76
+ export declare const lightAnsiTheme: ColorTheme;
77
77
  //#endregion
78
78
  //#region src/themes/nord.d.ts
79
- declare const nordTheme: ColorTheme;
80
- declare const nordAnsi256Theme: ColorTheme;
81
- declare const nordAnsiTheme: ColorTheme;
79
+ export declare const nordTheme: ColorTheme;
80
+ export declare const nordAnsi256Theme: ColorTheme;
81
+ export declare const nordAnsiTheme: ColorTheme;
82
82
  //#endregion
83
83
  //#region src/themes/tokyo-night.d.ts
84
- declare const tokyoNightTheme: ColorTheme;
85
- declare const tokyoNightAnsi256Theme: ColorTheme;
86
- declare const tokyoNightAnsiTheme: ColorTheme;
84
+ export declare const tokyoNightTheme: ColorTheme;
85
+ export declare const tokyoNightAnsi256Theme: ColorTheme;
86
+ export declare const tokyoNightAnsiTheme: ColorTheme;
87
87
  //#endregion
88
88
  //#region src/themes/rose-pine.d.ts
89
- declare const rosePineTheme: ColorTheme;
90
- declare const rosePineAnsi256Theme: ColorTheme;
91
- declare const rosePineAnsiTheme: ColorTheme;
89
+ export declare const rosePineTheme: ColorTheme;
90
+ export declare const rosePineAnsi256Theme: ColorTheme;
91
+ export declare const rosePineAnsiTheme: ColorTheme;
92
92
  //#endregion
93
93
  //#region src/themes/gruvbox.d.ts
94
- declare const gruvboxTheme: ColorTheme;
95
- declare const gruvboxAnsi256Theme: ColorTheme;
96
- declare const gruvboxAnsiTheme: ColorTheme;
94
+ export declare const gruvboxTheme: ColorTheme;
95
+ export declare const gruvboxAnsi256Theme: ColorTheme;
96
+ export declare const gruvboxAnsiTheme: ColorTheme;
97
97
  //#endregion
98
98
  //#region src/themes/index.d.ts
99
99
  interface SegmentColor {
@@ -178,8 +178,8 @@ interface PowerlineColors {
178
178
  bastraBold: boolean;
179
179
  partFg: Record<string, string>;
180
180
  }
181
- declare const BUILT_IN_THEMES: Record<string, ColorTheme>;
182
- declare function getTheme(themeName: string, colorSupport?: "none" | "ansi" | "ansi256" | "truecolor"): ColorTheme | null;
181
+ export declare const BUILT_IN_THEMES: Record<string, ColorTheme>;
182
+ export declare function getTheme(themeName: string, colorSupport?: "none" | "ansi" | "ansi256" | "truecolor"): ColorTheme | null;
183
183
  //#endregion
184
184
  //#region src/segments/session.d.ts
185
185
  interface TokenBreakdown {
@@ -236,7 +236,7 @@ interface MetricsInfo {
236
236
  //#region src/segments/git.d.ts
237
237
  interface GitInfo {
238
238
  branch: string;
239
- status: "clean" | "dirty" | "conflicts";
239
+ status: "clean" | "dirty" | "conflicts" | "unknown";
240
240
  ahead: number;
241
241
  behind: number;
242
242
  sha?: string;
@@ -279,8 +279,8 @@ interface BastraInfo {
279
279
  }
280
280
  //#endregion
281
281
  //#region src/utils/constants.d.ts
282
- declare const RESET_CODE = "";
283
- declare const SYMBOLS: {
282
+ export declare const RESET_CODE = "";
283
+ export declare const SYMBOLS: {
284
284
  readonly right: "";
285
285
  readonly left_rounded: "";
286
286
  readonly right_rounded: "";
@@ -321,7 +321,7 @@ declare const SYMBOLS: {
321
321
  readonly cache_timer: "◴";
322
322
  readonly bastra: "❖";
323
323
  };
324
- declare const BOX_CHARS: {
324
+ export declare const BOX_CHARS: {
325
325
  readonly topLeft: "╭";
326
326
  readonly topRight: "╮";
327
327
  readonly bottomLeft: "╰";
@@ -331,7 +331,7 @@ declare const BOX_CHARS: {
331
331
  readonly teeLeft: "├";
332
332
  readonly teeRight: "┤";
333
333
  };
334
- declare const BOX_CHARS_TEXT: {
334
+ export declare const BOX_CHARS_TEXT: {
335
335
  readonly topLeft: "+";
336
336
  readonly topRight: "+";
337
337
  readonly bottomLeft: "+";
@@ -341,8 +341,8 @@ declare const BOX_CHARS_TEXT: {
341
341
  readonly teeLeft: "+";
342
342
  readonly teeRight: "+";
343
343
  };
344
- declare const BOX_PRESETS: Record<string, BoxChars>;
345
- declare const TEXT_SYMBOLS: {
344
+ export declare const BOX_PRESETS: Record<string, BoxChars>;
345
+ export declare const TEXT_SYMBOLS: {
346
346
  readonly right: "";
347
347
  readonly left_rounded: "";
348
348
  readonly right_rounded: "";
@@ -412,9 +412,9 @@ type SymbolSet = typeof SYMBOLS | typeof TEXT_SYMBOLS;
412
412
  type LayoutMode = "wide" | "medium" | "narrow";
413
413
  declare const SEGMENT_NAME_LIST: readonly ["context", "block", "session", "today", "weekly", "git", "dir", "model", "version", "tmux", "metrics", "activity", "env", "agent", "thinking", "cacheTimer"];
414
414
  type SegmentName = (typeof SEGMENT_NAME_LIST)[number];
415
- declare const VALID_SEGMENT_NAMES: ReadonlySet<string>;
416
- declare const SEGMENT_PARTS: Record<SegmentName, readonly string[]>;
417
- declare function isValidSegmentRef(name: string): boolean;
415
+ export declare const VALID_SEGMENT_NAMES: ReadonlySet<string>;
416
+ export declare const SEGMENT_PARTS: Record<SegmentName, readonly string[]>;
417
+ export declare function isValidSegmentRef(name: string): boolean;
418
418
  type AlignValue = "left" | "center" | "right";
419
419
  interface GridCell {
420
420
  segment: string;
@@ -472,7 +472,7 @@ interface RenderCtx {
472
472
  colors: PowerlineColors;
473
473
  }
474
474
  //#endregion
475
- //#region src/segments/renderer.d.ts
475
+ //#region src/segments/renderer-types.d.ts
476
476
  interface SegmentConfig {
477
477
  enabled: boolean;
478
478
  showIcon?: boolean;
@@ -592,7 +592,9 @@ interface SegmentData {
592
592
  fgColor: string;
593
593
  bold?: boolean;
594
594
  }
595
- declare class SegmentRenderer {
595
+ //#endregion
596
+ //#region src/segments/renderer.d.ts
597
+ export declare class SegmentRenderer {
596
598
  private readonly config;
597
599
  private readonly symbols;
598
600
  constructor(config: PowerlineConfig, symbols: PowerlineSymbols);
@@ -604,16 +606,10 @@ declare class SegmentRenderer {
604
606
  renderSessionId(sessionId: string, colors: PowerlineColors, config?: SessionIdSegmentConfig): SegmentData;
605
607
  renderTmux(sessionId: string | null, colors: PowerlineColors): SegmentData | null;
606
608
  renderContext(contextInfo: ContextInfo | null, colors: PowerlineColors, config?: ContextSegmentConfig): SegmentData | null;
607
- private buildBar;
608
- private resolveBarStyleDef;
609
- private formatPercentageWithBar;
610
609
  renderMetrics(metricsInfo: MetricsInfo | null, colors: PowerlineColors, config?: MetricsSegmentConfig): SegmentData | null;
611
610
  renderBlock(blockInfo: BlockInfo, colors: PowerlineColors, config?: BlockSegmentConfig): SegmentData;
612
611
  renderWeekly(hookData: ClaudeHookData, colors: PowerlineColors, config?: WeeklySegmentConfig): SegmentData | null;
613
612
  renderToday(todayInfo: TodayInfo, colors: PowerlineColors, configOrType?: TodaySegmentConfig | string): SegmentData | null;
614
- private getDisplayDirectoryName;
615
- private formatUsageDisplay;
616
- private formatUsageWithBudget;
617
613
  renderVersion(hookData: ClaudeHookData, colors: PowerlineColors, config?: VersionSegmentConfig): SegmentData | null;
618
614
  renderEnv(colors: PowerlineColors, config: EnvSegmentConfig): SegmentData | null;
619
615
  renderAgent(hookData: ClaudeHookData, colors: PowerlineColors, config?: AgentSegmentConfig): SegmentData | null;
@@ -680,24 +676,24 @@ interface PowerlineConfig {
680
676
  interface TuiPanelOptions {
681
677
  rawTerminalWidth?: number | null;
682
678
  }
683
- declare function renderTuiPanel(data: TuiData, box: BoxChars, reset: string, terminalWidth: number | null, config: PowerlineConfig, options?: TuiPanelOptions): Promise<string>;
679
+ export declare function renderTuiPanel(data: TuiData, box: BoxChars, reset: string, terminalWidth: number | null, config: PowerlineConfig, options?: TuiPanelOptions): Promise<string>;
684
680
  //#endregion
685
681
  //#region src/utils/colors.d.ts
686
- declare function hexToAnsi(hex: string, isBackground: boolean): string;
687
- declare function extractBgToFg(ansiCode: string, useTextOnly?: boolean): string;
688
- declare function hexTo256Ansi(hex: string, isBackground: boolean): string;
689
- declare function hexToBasicAnsi(hex: string, isBackground: boolean): string;
690
- declare function hexColorDistance(hex1: string, hex2: string): number;
682
+ export declare function hexToAnsi(hex: string, isBackground: boolean): string;
683
+ export declare function extractBgToFg(ansiCode: string, useTextOnly?: boolean): string;
684
+ export declare function hexTo256Ansi(hex: string, isBackground: boolean): string;
685
+ export declare function hexToBasicAnsi(hex: string, isBackground: boolean): string;
686
+ export declare function hexColorDistance(hex1: string, hex2: string): number;
691
687
  //#endregion
692
688
  //#region src/utils/terminal.d.ts
693
- declare const ESC: string;
694
- declare function stripAnsi(str: string): string;
689
+ export declare const ESC: string;
690
+ export declare function stripAnsi(str: string): string;
695
691
  /**
696
692
  * Sichtbare Terminal-Breite (Spalten), nicht UTF-16-Länge: `.length` zählt
697
693
  * CJK als 1 (real 2) und Combining Marks als 1 (real 0) — damit war jede
698
694
  * Spalten-/Padding-Rechnung für solche Inhalte um 1–2 Spalten daneben.
699
695
  */
700
- declare function visibleLength(str: string): number;
696
+ export declare function visibleLength(str: string): number;
701
697
  //#endregion
702
698
  //#region src/utils/formatters.d.ts
703
699
  interface TokenBreakdown$1 {
@@ -706,21 +702,21 @@ interface TokenBreakdown$1 {
706
702
  cacheCreation: number;
707
703
  cacheRead: number;
708
704
  }
709
- declare function formatCost(cost: number | null): string;
710
- declare function formatTokens(tokens: number | null): string;
711
- declare function formatTokenBreakdown(breakdown: TokenBreakdown$1 | null): string;
712
- declare function formatTimeSince(seconds: number): string;
713
- declare function formatDuration(seconds: number): string;
714
- declare function formatModelName(rawName: string): string;
715
- declare function abbreviateFishStyle(dirPath: string): string;
716
- declare function formatResponseTime(seconds: number): string;
717
- declare function formatTokenCount(tokens: number | null): string;
718
- declare function formatBurnRate(rate: number | null | undefined): string;
719
- declare function collapseHome(dirPath: string, homeDir?: string): string;
720
- declare function formatTimeRemaining(totalMinutes: number): string;
721
- declare function formatLongTimeRemaining(totalMinutes: number): string;
722
- declare function minutesUntilReset(epochSeconds: number): number;
723
- declare function formatCacheTimerElapsed(seconds: number): string;
705
+ export declare function formatCost(cost: number | null): string;
706
+ export declare function formatTokens(tokens: number | null): string;
707
+ export declare function formatTokenBreakdown(breakdown: TokenBreakdown$1 | null): string;
708
+ export declare function formatTimeSince(seconds: number): string;
709
+ export declare function formatDuration(seconds: number): string;
710
+ export declare function formatModelName(rawName: string): string;
711
+ export declare function abbreviateFishStyle(dirPath: string): string;
712
+ export declare function formatResponseTime(seconds: number): string;
713
+ export declare function formatTokenCount(tokens: number | null): string;
714
+ export declare function formatBurnRate(rate: number | null | undefined): string;
715
+ export declare function collapseHome(dirPath: string, homeDir?: string): string;
716
+ export declare function formatTimeRemaining(totalMinutes: number): string;
717
+ export declare function formatLongTimeRemaining(totalMinutes: number): string;
718
+ export declare function minutesUntilReset(epochSeconds: number): number;
719
+ export declare function formatCacheTimerElapsed(seconds: number): string;
724
720
  //#endregion
725
721
  //#region src/utils/budget.d.ts
726
722
  interface BudgetStatus {
@@ -728,70 +724,72 @@ interface BudgetStatus {
728
724
  isWarning: boolean;
729
725
  displayText: string;
730
726
  }
731
- declare function getBudgetStatus(cost: number, budget: number | undefined, warningThreshold?: number): BudgetStatus;
727
+ export declare function getBudgetStatus(cost: number, budget: number | undefined, warningThreshold?: number): BudgetStatus;
732
728
  //#endregion
733
729
  //#region src/tui/primitives.d.ts
734
- declare function colorize(text: string, fgColor: string, reset: string, bold?: boolean): string;
735
- declare function padRight(text: string, width: number): string;
736
- declare function padLeft(text: string, width: number): string;
737
- declare function padCenter(text: string, width: number): string;
738
- declare function truncateAnsi(text: string, maxWidth: number): string;
739
- declare function contentRow(box: BoxChars, content: string, innerWidth: number): string;
740
- declare function divider(box: BoxChars, innerWidth: number): string;
741
- declare function bottomBorder(box: BoxChars, innerWidth: number, leftText?: string, rightText?: string): string;
742
- declare function spreadEven(parts: string[], totalWidth: number): string;
743
- declare function spreadTwo(left: string, right: string, totalWidth: number): string;
730
+ export declare function colorize(text: string, fgColor: string, reset: string, bold?: boolean): string;
731
+ export declare function padRight(text: string, width: number): string;
732
+ export declare function padLeft(text: string, width: number): string;
733
+ export declare function padCenter(text: string, width: number): string;
734
+ export declare function truncateAnsi(text: string, maxWidth: number): string;
735
+ export declare function contentRow(box: BoxChars, content: string, innerWidth: number): string;
736
+ export declare function divider(box: BoxChars, innerWidth: number): string;
737
+ export declare function bottomBorder(box: BoxChars, innerWidth: number, leftText?: string, rightText?: string): string;
738
+ export declare function spreadEven(parts: string[], totalWidth: number): string;
739
+ export declare function spreadTwo(left: string, right: string, totalWidth: number): string;
740
+ //#endregion
741
+ //#region src/tui/sections-bars.d.ts
742
+ export declare function resolveTitleToken(template: string, data: TuiData, resolvedData?: Record<string, string>): string;
743
+ export declare function buildTitleBar(data: TuiData, box: BoxChars, innerWidth: number, titleConfig?: TuiTitleConfig, resolvedData?: Record<string, string>): string;
744
+ export declare function buildContextBar(data: TuiData, barWidth: number, sym: SymbolSet, reset: string, colors: PowerlineColors, partFg?: Record<string, string>): string;
745
+ export declare function buildBlockBar(data: TuiData, barWidth: number, sym: SymbolSet, reset: string, colors: PowerlineColors, config: PowerlineConfig, partFg?: Record<string, string>): string;
746
+ export declare function buildWeeklyBar(data: TuiData, barWidth: number, sym: SymbolSet, reset: string, colors: PowerlineColors, partFg?: Record<string, string>): string;
747
+ export declare function buildContextLine(data: TuiData, contentWidth: number, sym: SymbolSet, reset: string, colors: PowerlineColors): string | null;
744
748
  //#endregion
745
749
  //#region src/tui/sections.d.ts
746
- declare function resolveTitleToken(template: string, data: TuiData, resolvedData?: Record<string, string>): string;
747
- declare function buildTitleBar(data: TuiData, box: BoxChars, innerWidth: number, titleConfig?: TuiTitleConfig, resolvedData?: Record<string, string>): string;
748
- declare function buildContextBar(data: TuiData, barWidth: number, sym: SymbolSet, reset: string, colors: PowerlineColors, partFg?: Record<string, string>): string;
749
- declare function buildBlockBar(data: TuiData, barWidth: number, sym: SymbolSet, reset: string, colors: PowerlineColors, config: PowerlineConfig, partFg?: Record<string, string>): string;
750
- declare function buildWeeklyBar(data: TuiData, barWidth: number, sym: SymbolSet, reset: string, colors: PowerlineColors, partFg?: Record<string, string>): string;
751
- declare function buildContextLine(data: TuiData, contentWidth: number, sym: SymbolSet, reset: string, colors: PowerlineColors): string | null;
752
- declare function collectMetricSegments(data: TuiData, sym: SymbolSet, config: PowerlineConfig, reset: string, colors: PowerlineColors): string[];
753
- declare function collectActivityParts(data: TuiData, sym: SymbolSet): string[];
754
- declare function collectWorkspaceParts(data: TuiData, sym: SymbolSet, reset: string, colors: PowerlineColors, config: PowerlineConfig): string[];
755
- declare function collectFooterParts(data: TuiData, sym: SymbolSet, config: PowerlineConfig, reset: string, colors: PowerlineColors): string[];
750
+ export declare function collectMetricSegments(data: TuiData, sym: SymbolSet, config: PowerlineConfig, reset: string, colors: PowerlineColors): string[];
751
+ export declare function collectActivityParts(data: TuiData, sym: SymbolSet): string[];
752
+ export declare function collectWorkspaceParts(data: TuiData, sym: SymbolSet, reset: string, colors: PowerlineColors, config: PowerlineConfig): string[];
753
+ export declare function collectFooterParts(data: TuiData, sym: SymbolSet, config: PowerlineConfig, reset: string, colors: PowerlineColors): string[];
756
754
  interface ResolvedTemplate {
757
755
  items: string[];
758
756
  gap: number;
759
757
  justify: JustifyValue;
760
758
  }
761
- declare function composeTemplate(items: string[], gap: number, justify: JustifyValue, cellWidth?: number): string;
759
+ export declare function composeTemplate(items: string[], gap: number, justify: JustifyValue, cellWidth?: number): string;
762
760
  interface ResolvedSegments {
763
761
  data: Record<string, string>;
764
762
  templates: Record<string, ResolvedTemplate>;
765
763
  }
766
- declare function resolveSegments(data: TuiData, ctx: RenderCtx): ResolvedSegments;
764
+ export declare function resolveSegments(data: TuiData, ctx: RenderCtx): ResolvedSegments;
767
765
  //#endregion
768
766
  //#region src/tui/layouts.d.ts
769
- declare function renderWideMetrics(ctx: RenderCtx): void;
770
- declare function renderWideBottom(ctx: RenderCtx): void;
771
- declare function renderMediumMetrics(ctx: RenderCtx): void;
772
- declare function renderMediumBottom(ctx: RenderCtx): void;
773
- declare function renderNarrowMetrics(ctx: RenderCtx): void;
774
- declare function renderNarrowBottom(ctx: RenderCtx): void;
767
+ export declare function renderWideMetrics(ctx: RenderCtx): void;
768
+ export declare function renderWideBottom(ctx: RenderCtx): void;
769
+ export declare function renderMediumMetrics(ctx: RenderCtx): void;
770
+ export declare function renderMediumBottom(ctx: RenderCtx): void;
771
+ export declare function renderNarrowMetrics(ctx: RenderCtx): void;
772
+ export declare function renderNarrowBottom(ctx: RenderCtx): void;
775
773
  //#endregion
776
774
  //#region src/tui/grid.d.ts
777
- declare const DIVIDER = "---";
778
- declare const EMPTY_CELL = ".";
779
- declare const LATE_RESOLVE_SEGMENTS: Set<string>;
775
+ export declare const DIVIDER = "---";
776
+ export declare const EMPTY_CELL = ".";
777
+ export declare const LATE_RESOLVE_SEGMENTS: Set<string>;
780
778
  interface GridResult {
781
779
  lines: string[];
782
780
  panelWidth: number;
783
781
  }
784
- declare function selectBreakpoint(breakpoints: TuiGridBreakpoint[], panelWidth: number): TuiGridBreakpoint;
785
- declare function parseAreas(areas: string[]): GridCell[][];
786
- declare function cullMatrix(matrix: GridCell[][], resolvedData: Record<string, string>): GridCell[][];
787
- declare function calculateColumnWidths(columns: string[], matrix: GridCell[][], resolvedData: Record<string, string>, contentWidth: number, separatorWidth: number, lateResolveNames?: ReadonlySet<string>): number[];
788
- declare function solveFitContentLayout(columns: string[], matrix: GridCell[][], resolvedData: Record<string, string>, separatorWidth: number, horizontalPadding: number, lateResolveNames?: ReadonlySet<string>): {
782
+ export declare function selectBreakpoint(breakpoints: TuiGridBreakpoint[], panelWidth: number): TuiGridBreakpoint;
783
+ export declare function parseAreas(areas: string[]): GridCell[][];
784
+ export declare function cullMatrix(matrix: GridCell[][], resolvedData: Record<string, string>): GridCell[][];
785
+ export declare function calculateColumnWidths(columns: string[], matrix: GridCell[][], resolvedData: Record<string, string>, contentWidth: number, separatorWidth: number, lateResolveNames?: ReadonlySet<string>): number[];
786
+ export declare function solveFitContentLayout(columns: string[], matrix: GridCell[][], resolvedData: Record<string, string>, separatorWidth: number, horizontalPadding: number, lateResolveNames?: ReadonlySet<string>): {
789
787
  panelWidth: number;
790
788
  colWidths: number[];
791
789
  };
792
- declare function renderGrid(gridConfig: TuiGridConfig, resolvedData: Record<string, string>, box: BoxChars, rawTerminalWidth: number, lateResolve?: (segment: string, cellWidth: number) => string | undefined): GridResult;
790
+ export declare function renderGrid(gridConfig: TuiGridConfig, resolvedData: Record<string, string>, box: BoxChars, rawTerminalWidth: number, lateResolve?: (segment: string, cellWidth: number) => string | undefined): GridResult;
793
791
  //#endregion
794
792
  //#region src/config/defaults.d.ts
795
- declare const DEFAULT_CONFIG: PowerlineConfig;
793
+ export declare const DEFAULT_CONFIG: PowerlineConfig;
796
794
  //#endregion
797
- export { type AgentSegmentConfig, type AlignValue, type AnySegmentConfig, BOX_CHARS, BOX_CHARS_TEXT, BOX_PRESETS, BUILT_IN_THEMES, type BarDisplayStyle, type BlockInfo, type BlockSegmentConfig, type BoxChars, type BudgetConfig, type BudgetItemConfig, type CacheTimerInfo, type CacheTimerSegmentConfig, type ClaudeHookData, type ColorTheme, type ContextInfo, type ContextSegmentConfig, DEFAULT_CONFIG, DIVIDER, type DirectorySegmentConfig, type DisplayConfig, EMPTY_CELL, ESC, type EnvSegmentConfig, type GitInfo, type GitSegmentConfig, type GridCell, type GridResult, type JustifyValue, LATE_RESOLVE_SEGMENTS, type LayoutMode, type LineConfig, type MetricsInfo, type MetricsSegmentConfig, type PowerlineColors, type PowerlineConfig, type PowerlineSymbols, RESET_CODE, type RenderCtx, SEGMENT_PARTS, SYMBOLS, type SegmentColor, type SegmentConfig, type SegmentData, type SegmentName, SegmentRenderer, type SegmentTemplate, type SessionIdSegmentConfig, type SessionInfo, type SymbolSet, TEXT_SYMBOLS, type ThinkingSegmentConfig, type TodayInfo, type TodaySegmentConfig, type TokenBreakdown, type TuiData, type TuiFooterConfig, type TuiGridBreakpoint, type TuiGridConfig, type TuiPanelOptions, type TuiTitleConfig, type UsageInfo, type UsageSegmentConfig, VALID_SEGMENT_NAMES, type VersionSegmentConfig, type WeeklySegmentConfig, abbreviateFishStyle, bottomBorder, buildBlockBar, buildContextBar, buildContextLine, buildTitleBar, buildWeeklyBar, calculateColumnWidths, collapseHome, collectActivityParts, collectFooterParts, collectMetricSegments, collectWorkspaceParts, colorize, composeTemplate, contentRow, cullMatrix, darkAnsi256Theme, darkAnsiTheme, darkTheme, divider, extractBgToFg, formatBurnRate, formatCacheTimerElapsed, formatCost, formatDuration, formatLongTimeRemaining, formatModelName, formatResponseTime, formatTimeRemaining, formatTimeSince, formatTokenBreakdown, formatTokenCount, formatTokens, getBudgetStatus, getTheme, gruvboxAnsi256Theme, gruvboxAnsiTheme, gruvboxTheme, hexColorDistance, hexTo256Ansi, hexToAnsi, hexToBasicAnsi, isValidSegmentRef, lightAnsi256Theme, lightAnsiTheme, lightTheme, minutesUntilReset, nordAnsi256Theme, nordAnsiTheme, nordTheme, padCenter, padLeft, padRight, parseAreas, renderGrid, renderMediumBottom, renderMediumMetrics, renderNarrowBottom, renderNarrowMetrics, renderTuiPanel, renderWideBottom, renderWideMetrics, resolveSegments, resolveTitleToken, rosePineAnsi256Theme, rosePineAnsiTheme, rosePineTheme, selectBreakpoint, solveFitContentLayout, spreadEven, spreadTwo, stripAnsi, tokyoNightAnsi256Theme, tokyoNightAnsiTheme, tokyoNightTheme, truncateAnsi, visibleLength };
795
+ export type { AgentSegmentConfig, AlignValue, AnySegmentConfig, BarDisplayStyle, BlockInfo, BlockSegmentConfig, BoxChars, BudgetConfig, BudgetItemConfig, CacheTimerInfo, CacheTimerSegmentConfig, ClaudeHookData, ColorTheme, ContextInfo, ContextSegmentConfig, DirectorySegmentConfig, DisplayConfig, EnvSegmentConfig, GitInfo, GitSegmentConfig, GridCell, GridResult, JustifyValue, LayoutMode, LineConfig, MetricsInfo, MetricsSegmentConfig, PowerlineColors, PowerlineConfig, PowerlineSymbols, RenderCtx, SegmentColor, SegmentConfig, SegmentData, SegmentName, SegmentTemplate, SessionIdSegmentConfig, SessionInfo, SymbolSet, ThinkingSegmentConfig, TodayInfo, TodaySegmentConfig, TokenBreakdown, TuiData, TuiFooterConfig, TuiGridBreakpoint, TuiGridConfig, TuiPanelOptions, TuiTitleConfig, UsageInfo, UsageSegmentConfig, VersionSegmentConfig, WeeklySegmentConfig };