import type { AgentWorkState } from "../core/types.js";
export type ComposerLayout = {
    height: number;
    editorRows: number;
    inputWidth: number;
    visibleRows: string[];
    cursorRow: number;
    cursorColumn: number;
    hiddenRows: number;
};
export declare function computeComposerLayout(options: {
    input: string;
    width: number;
    promptWidth?: number;
    minHeight?: number;
    maxHeight?: number;
}): ComposerLayout;
export declare function wrapDraftRows(value: string, width: number): string[];
/**
 * Build the run-status line.
 *
 * `verbIndex` MUST be a slow counter (advanced roughly every 10s), never the
 * fast spinner frame — otherwise the verb flickers several times per second.
 * The fast spinner glyph is rendered separately by the caller.
 */
export declare function formatWorkingStatus(workState: AgentWorkState, verbIndex: number, status: string): string;
