/**
 * Comment Analyzer Utility
 * Analyzes comment INTENTION - distinguishing explanatory comments from disabled code
 *
 * This addresses false positives where comments describing auth checks are flagged
 * as "disabled authentication" when they're actually explaining the code that follows.
 *
 * Key insight: A comment before active code is EXPLANATORY, not disabled code.
 * Only flag comments when:
 * 1. The comment is followed by MORE commented code (disabled code block)
 * 2. The comment matches explicit disable patterns (TODO: add auth, FIXME: needs auth)
 */
export interface CommentAnalysis {
    /** Type of comment based on context */
    type: 'explanatory' | 'disabled_code' | 'todo_fixme' | 'unknown';
    /** Whether this comment represents a security concern */
    isSecurityRelevant: boolean;
    /** Optional reason for the classification */
    reason?: string;
}
/**
 * Analyze the INTENTION of a comment at a specific line
 *
 * @param lines - Array of all lines in the file
 * @param commentLineIndex - The 0-indexed line number of the comment to analyze
 * @returns CommentAnalysis with type and security relevance
 */
export declare function analyzeCommentIntention(lines: string[], commentLineIndex: number): CommentAnalysis;
/**
 * Check if a comment at a specific line indicates disabled authentication code
 * This is the main function to use for detection
 *
 * @param lines - Array of all lines in the file
 * @param lineIndex - The 0-indexed line number to check
 * @returns true if the comment indicates disabled/missing auth that should be flagged
 */
export declare function isDisabledAuthComment(lines: string[], lineIndex: number): boolean;
//# sourceMappingURL=comment-analyzer.d.ts.map