import { type EditorTopBorderLabel } from "@kolisachint/hoocode-tui"; /** * Terminal width at which the chip is worth drawing at all. Below it the box has * more urgent things to spend columns on, and the footer keeps the name instead. * * The number is not arbitrary: with the name capped at 20 columns the chip is at * most 22 cells, and 48 columns leaves the editor's border enough room for the * chip, its inset, and a lead-in even with the scroll indicator also present — so * "fits" here and "fits" inside the editor agree. */ export declare const SESSION_CHIP_MIN_WIDTH = 48; /** Whether a chip is drawn at this terminal width. */ export declare function sessionChipFits(width: number): boolean; /** * Build the chip for a session. Returns the plain/styled pair the editor's top * border needs; the padding is part of the plain string too, so width math and * truncation stay honest. * * The fill carries the colour and the ink is picked from the fill's luminance, so * one call renders correctly on a dark theme's bright hues and a light theme's * deep ones alike. Themes whose palette entry cannot be filled fall back to an * outline chip — quieter, but never unreadable. */ export declare function renderSessionChip(name: string, colorSlot: number): EditorTopBorderLabel | undefined; //# sourceMappingURL=session-chip.d.ts.map