/** * Pi Orca Agents Extension * Subagent lifecycle via SDK/RPC/tmux. * Spec: §5 — pi-orca-agents Extension */ import { type AgentLifecycleDeps } from "./widget-lifecycle.js"; /** * Build the `agent-update` notify-message handler. Extracted as a named * function so unit tests can exercise the enqueue-on-terminal-ping path * without standing up a Unix socket. Spec §5.8. * * Exported via `__internal` at the bottom of this module for tests only. */ export declare function buildAgentUpdateHandler(deps: AgentLifecycleDeps): (payload: { agentId: string; event: "heartbeat" | "completion" | "error"; }) => Promise; export declare function handleAgentCommand(args: string, ctx: any): Promise; export declare function register(pi: any): void; export default register; //# sourceMappingURL=index.d.ts.map