import type { HookName, OpenCodeCodexOrchConfig } from "../../config"; import type { BackgroundManager } from "../../features/background-agent"; import type { PluginContext } from "../types"; export type ContinuationHooks = Record; type SessionRecovery = { setOnAbortCallback: (callback: (sessionID: string) => void) => void; setOnRecoveryCompleteCallback: (callback: (sessionID: string) => void) => void; } | null; export declare function createContinuationHooks(_args: { ctx: PluginContext; pluginConfig: OpenCodeCodexOrchConfig; isHookEnabled: (hookName: HookName) => boolean; safeHookEnabled: boolean; backgroundManager: BackgroundManager; sessionRecovery: SessionRecovery; }): ContinuationHooks; export {};