import type CorePlugin from "./plugin.js"; type PluginInput = Parameters[0]; type PluginHooks = Awaited>; /** * Give an active Goal sole ownership of post-compaction continuation. * * The core adapter already disables OpenCode's generic synthetic `continue` * while a Goal is active. Successful compaction therefore needs a guaranteed * Goal-owned wake-up even on hosts that do not emit a useful `session.idle` * afterwards. This coordinator turns the successful autocontinue hook into a * one-shot idle barrier and routes that idle back through the normal wrapper * stack so sequence/task/agent safety gates still win. * * State is intentionally in-memory. A process restart already has dedicated * active-Goal recovery; persisting another continuation marker would duplicate * that mechanism and add storage migration/corruption surface. */ export declare function installGoalCompactionContinuation(input: PluginInput, hooks: PluginHooks): void; export {}; //# sourceMappingURL=compaction-continuation.d.ts.map