import type { InkColor } from "../format.js";
import type { LogLine } from "../types.js";
import type { AgentTodoItem } from "../../core/types.js";
export type ShellRow = {
    symbol: string;
    label: string;
    text: string;
    color: InkColor;
    symbolColor?: InkColor;
    labelColor?: InkColor;
    textColor?: InkColor;
    effect?: "rainbow";
    bold?: boolean;
    dim?: boolean;
};
/** Flatten transcript log lines into wrapped, renderable rows. */
export declare function buildShellRows(lines: LogLine[], width: number): ShellRow[];
/** Build the todo dock rows. */
export declare function buildTodoDock(todos: AgentTodoItem[], width: number, frame: number): ShellRow[];
export declare function truncate(value: string, width: number): string;
