import type { HookRegistry } from '../../../agent/hooks.js'; import type { MemoryStore } from '../../../agent/memory/index.js'; import type { StateStore } from '../../../agent/state/state-store.js'; import type { TraceSink } from '../../../agent/trace/index.js'; import type { SessionStats } from '../../slash/types.js'; import type { CompletionWriter } from './shared.js'; import type { PreviewDiffRef } from '../../../agent/tools/hooks/edit-preview-hook.js'; export declare function createReplHookRegistry(a: { completionWriter: CompletionWriter; memoryStore: MemoryStore; stateStore?: StateStore; stats: SessionStats; effectiveCwd: string | undefined; traceWriter: TraceSink | undefined; }): { hookRegistry: HookRegistry; addPreviewDiffRef: PreviewDiffRef; };