import { type ReactNode } from "react"; import type { BackgroundJob } from "../../app/ports/jobs-port.js"; import type { InkTheme } from "../render/ink-theme.js"; import type { PanelController, PanelSnapshot } from "./panel-controller.js"; import type { TranscriptState } from "../../ui-core/state/transcript-types.js"; export interface PanelHostProps { readonly controller: PanelController; readonly ink: InkTheme; readonly columns: number; readonly rows: number; readonly jobs: readonly BackgroundJob[]; readonly transcript: TranscriptState; readonly now: number; } export declare function usePanelSnapshot(controller: PanelController): PanelSnapshot; export declare function PanelHost(props: PanelHostProps): ReactNode;