import type { PluginInput } from "@opencode-ai/plugin"; export interface CompactionTodoPreserver { capture: (sessionID: string) => Promise; event: (input: { event: { type: string; properties?: unknown; }; }) => Promise; } export declare function createCompactionTodoPreserverHook(ctx: PluginInput): CompactionTodoPreserver;