import type { ConfigService } from 'hive-core'; /** * Todo Enforcer Hook * * Enforces task completion - when agent goes idle, the system yanks it back to work. * Based on oh-my-openagent's todo-continuation-enforcer hook. */ export interface TodoEnforcerOptions { enabled?: boolean; idleThresholdMs?: number; } export declare function createTodoEnforcerHook(configService: ConfigService, options?: TodoEnforcerOptions): { name: string; handler: (input: unknown, output: { context: string[]; }) => void; }; /** * Hash-Anchored Edit Hook * * Enhances edit operations with hash-anchored line markers for robust editing. * Based on oh-my-openagent's hashline-edit-diff-enhancer hook. */ export interface HashlineEditOptions { enabled?: boolean; } export declare function createHashlineEditHook(options?: HashlineEditOptions): { name: string; handler: (input: unknown, output: { edit: string; }) => void; }; /** * Comment Checker Hook * * Reminds agents to reduce excessive comments. Smartly ignores BDD, directives, docstrings. * Based on oh-my-openagent's comment-checker hook. */ export interface CommentCheckerOptions { enabled?: boolean; maxCommentLines?: number; } export declare function createCommentCheckerHook(options?: CommentCheckerOptions): { name: string; handler: (input: unknown, output: { context: string[]; }) => void; };