import { type BoardTask } from "../../lib/board.js"; import { type Overlay, type OverlayHost } from "../overlay-host.js"; /** What the overlays need of the view (no daemon: the data is handed in). */ export type TasksHost = Pick, "theme" | "close" | "requestRender" | "termRows">; export interface TasksOpts { tasks: BoardTask[]; /** Named in the title: "all projects", or the repository. */ scope: string; } /** M47: the board as an overlay: open (claimable), blocked, claimed, then done, newest first; ↑↓ scroll, Esc closes. */ export declare function createTasksOverlay(host: TasksHost, opts: TasksOpts): Overlay; export interface LinesOpts { title: string; lines: string[]; } /** M59: lines in an overlay (what cleanup found or did); ↑↓ scroll, Esc closes. */ export declare function createLinesOverlay(host: TasksHost, opts: LinesOpts): Overlay;