import type { PlanTask, SessionPlan } from "../../store/plan.js"; import type { InkTheme } from "../render/ink-theme.js"; import { type PanelFrameInput } from "./panel-frame.js"; import { type PanelKeyResult } from "./panel-effect.js"; export interface PlanPanelState { readonly cursor: number; readonly top: number; } export declare const PLAN_INITIAL_STATE: PlanPanelState; export declare function planTasks(plan: SessionPlan): readonly PlanTask[]; export interface PlanKeyInput { readonly state: PlanPanelState; readonly chord: string; readonly plan: SessionPlan; readonly rows: number; readonly focused: boolean; } export declare function planKey(input: PlanKeyInput): PanelKeyResult; export interface PlanViewInput { readonly ink: InkTheme; readonly columns: number; readonly rows: number; readonly plan: SessionPlan; readonly state: PlanPanelState; readonly focused: boolean; } export declare function planView(input: PlanViewInput): PanelFrameInput;