export interface CommentCheckResult { ratio: number; slopCount: number; shouldWarn: boolean; message: string; } export declare function isCodeFile(filePath: string): boolean; export declare function checkComments(content: string, filePath: string, maxRatio?: number, slopThreshold?: number): CommentCheckResult; export declare function createCommentCheckerHook(internalSessions: Set, maxRatio?: number, slopThreshold?: number): (input: { tool: string | { name: string; }; args: Record; sessionID: string; }, output: { output: unknown; }) => void;