import { Container } from "@earendil-works/pi-tui"; import type { FlowColorConfig, FlowTheme } from "./flow-colors.js"; import type { SingleResult } from "../types/flow.js"; declare function formatCollapsedFlowHeaderTypeName(type: string): string; /** Center a label in a fixed-width header using em-dashes. Total width = 20. */ declare function sectionHeader(label: string): string; /** Single segment of a multi-part header with its original plain length and style. */ export interface HeaderSegment { text: string; style: (text: string) => string; } /** Reconstruct multi-segment ANSI styles on a flat string by splitting at * original segment boundaries and re-applying each segment's style function. */ export declare function reconstructHeader(content: string, segments: HeaderSegment[]): string; declare function renderFlowHeader(container: Container, r: SingleResult, flowId: string, headerPrefix: string, theme: FlowTheme, now: number, config?: FlowColorConfig, sharedContext?: { messageCount: number; userMessageCount: number; assistantMessageCount: number; toolCalls: Record; totalTokens: number; preview: string; }): void; export { formatCollapsedFlowHeaderTypeName, sectionHeader, renderFlowHeader }; //# sourceMappingURL=header.d.ts.map