/** * Comment Checker hook — wires the CommentChecker into tool.execute.after * to detect AI-slop comments in code written by agents. * * Only activates on mutating tools (write, edit, patch, multi_patch) and * only when the output looks like it contains code. * * Default: enabled with severity 'warn'. */ import type { Logger, PluginConfig } from '../types'; export interface CommentCheckerHooks { /** Call from tool.execute.after — appends warning to output when slop detected. */ toolAfter: (input: { sessionID: string; tool: string; }, output: { output: string; }) => void; } export declare function createCommentCheckerHooks(logger: Logger, config: PluginConfig): CommentCheckerHooks; //# sourceMappingURL=comment-checker.d.ts.map