import type { AgentMessage } from "@caupulican/pi-agent-core"; import type { SessionManager } from "@caupulican/pi-agent-core/node"; import type { Api, Model } from "@caupulican/pi-ai"; import type { ArtifactStore } from "./context/context-artifacts.ts"; import type { ExtensionUIContext } from "./extensions/index.ts"; import type { SessionImageStore } from "./session-image-store.ts"; interface HumanInputControllerDeps { getSessionManager(): SessionManager; getUIContext(): ExtensionUIContext | undefined; isDisposed(): boolean; isStreaming(): boolean; getModel(): Model | undefined; getArtifactStore(): ArtifactStore; getImageStore(): SessionImageStore | undefined; runAgentPrompt(messages: AgentMessage | AgentMessage[]): Promise; } /** Owns durable ask_question replay after a restart or idle resume. * Worker review stays on the edge: parent wake is the terminal handoff, not an owner question latch. */ export declare class HumanInputController { private readonly deps; constructor(deps: HumanInputControllerDeps); resumePending(): Promise; } export {}; //# sourceMappingURL=human-input-controller.d.ts.map