import type CorePlugin from "./plugin.js"; type PluginInput = Parameters[0]; type PluginHooks = Awaited>; export declare function syntheticTaskResult(parts: any[]): { taskID: string; state: "completed" | "error"; } | null; /** * Defer autonomous parent continuation while OpenCode is still executing a * delegated `task` subagent. This uses the task tool lifecycle and child-session * terminal events instead of polling `/session/status`, whose busy state may lag. */ export declare function installTaskDeferral(input: PluginInput, hooks: PluginHooks): void; export {}; //# sourceMappingURL=task-deferral.d.ts.map