import type { AgentHooks } from "./agent-hooks.js";
import { type Target } from "./protocol.js";
import type { TurnQueuePane } from "./turn-queue.js";
/** Read the same guarded hook/plugin turn records used by dispatch returns.
 * OpenCode's plugin supplies timestamped turns rather than lifecycle hooks. */
export declare function turnQueuePaneReader(agentHooks: Pick<AgentHooks, "approval" | "terminalPrompt" | "servedQuestion">): (target: Target) => Promise<TurnQueuePane | undefined>;
