import type { HookName, OpenCodeCodexOrchConfig } from "../../config"; import type { PluginContext } from "../types"; import type { ModelCacheState } from "../../plugin-state"; export declare function createCoreHooks(args: { ctx: PluginContext; pluginConfig: OpenCodeCodexOrchConfig; modelCacheState: ModelCacheState; isHookEnabled: (hookName: HookName) => boolean; safeHookEnabled: boolean; }): { contextInjectorMessagesTransform: ReturnType; toolOutputTruncator: ReturnType | null; directoryAgentsInjector: ReturnType | null; directoryReadmeInjector: ReturnType | null; rulesInjector: ReturnType | null; writeExistingFileGuard: ReturnType | null; hashlineReadEnhancer: ReturnType | null; autoUpdateChecker: ReturnType | null; sessionRecovery: ReturnType | null; modelFallback: ReturnType | null; editErrorRecovery: ReturnType | null; runtimeFallback: ReturnType | null; };