import type { DaemonClient } from "./client.js"; import type { JobRow } from "./protocol.js"; export declare const CONTINUE = "Continue where you left off."; /** A failed run was cut off: restarting it should carry on; anything else just reopens. */ export declare const resumePrompt: (row: JobRow) => string | undefined; /** The last screen, dimmed, with a starting line at the bottom (AT-1). */ export declare function startingFrame(id: string, cols: number, rows: number): string; /** * AT-1: make sure a job has a live worker before attaching. A reaped or ended job * is started again from its session file; meanwhile the last screen is shown dimmed. */ export declare function ensureLive(client: DaemonClient, row: JobRow, out?: { write(s: string): unknown; columns?: number; rows?: number; }): Promise;