/** * Skip comment handling (skipcq) * Compatible with globstar skipcq comment format */ import type { SyntaxNode } from 'tree-sitter'; import { ParseResult, SkipComment, Issue } from './types.js'; /** * Gather all skipcq comments from a parsed file */ export declare function gatherSkipInfo(fileContext: ParseResult): Promise; /** * Check if an issue should be skipped based on skipcq comments */ export declare function shouldSkipIssue(issue: Issue, skipComments: SkipComment[]): boolean; /** * Filter out issues that should be skipped */ export declare function filterSkippedIssues(issues: Issue[], skipInfo: Map): Issue[]; /** * Check if a node has a skipcq comment on the same or previous line */ export declare function hasSkipcqComment(node: SyntaxNode, skipComments: SkipComment[], checkerId?: string): boolean; /** * Extract checker IDs from a skipcq comment */ export declare function parseSkipcqComment(commentText: string): string[]; /** * Create a skipcq comment string */ export declare function createSkipcqComment(checkerIds?: string[], commentPrefix?: string): string; //# sourceMappingURL=skip-comments.d.ts.map