import { TaskStore } from "../../../../../../services/taskStore/index.mjs"; import { DoomOverlay, DoomOverlayChrome, DoomOverlayTui } from "@agimon-ai/doompi-ui/doom-overlay"; import { ExtensionContext, Theme } from "@earendil-works/pi-coding-agent"; //#region src/extensions/workspaces/sessions/(frontend)/overlay/_lib/task-space.cli.d.ts export declare const TASK_SPACE_OVERLAY_OPTIONS: { readonly anchor: 'top-left'; readonly width: '100%'; readonly maxHeight: '100%'; readonly margin: 0; }; export interface TaskSpaceOptions { store: TaskStore; } /** * Task Space overlay component. * * Rendering is pure: `render(width)` reads the live store and returns lines with * no side effects, so the fidelity job can capture it and unit tests can assert on it. */ export declare class TaskSpaceComponent extends DoomOverlay { private readonly options; private readonly done; private readonly unwatch; private mode; private selected; private statusIndex; private draft; private notice; private bodyHeight; constructor(tui: DoomOverlayTui, theme: Theme, options: TaskSpaceOptions, done: (result: undefined) => void); private tasks; private selectedTask; private move; /** Commits through the same reducer the task tool uses, so both paths share every invariant. */ private commit; private handleStatusInput; private handleSubjectInput; handleInput(data: string): void; /** * A padded, background-filled chip. Foreground is applied inside the fill so * the colour closes with it, rather than a reset stripping the background * partway through the label. */ private badge; /** Footer hints as capped keys: `[ enter ] edit subject`, per the mockup. */ private hintLine; private listLines; private statusLines; /** The subject as an input: a filled field with a caret, as in the mockup. */ private subjectField; private detailLines; private headerSummary; protected getChrome(): DoomOverlayChrome; protected renderBody(width: number, height: number): string[]; private renderStacked; dispose(): void; } export declare function openTaskSpace(ctx: ExtensionContext, options: TaskSpaceOptions): Promise; //#endregion export { openTaskSpace as default }; //# sourceMappingURL=task-space.cli.d.mts.map