/** * IssueFetcher — Pulls and parses eddie-brain violation issues from GitHub. * * Uses the `gh` CLI (already authenticated) to fetch issues, * then parses the consistent violation table format into structured data. */ import type { ViolationIssue } from './types.js'; /** * Fetch and parse eddie-brain violation issues from GitHub. */ export declare class IssueFetcher { private cwd; constructor(rootDir: string); /** * Fetch all open eddie-brain violation issues. */ fetchAll(): Promise; /** * Get the next batch of issues to process, excluding already-processed ones. */ getNextBatch(count: number, processedIssues: number[]): Promise; /** * Parse a single GitHub issue into a ViolationIssue. */ private parseIssue; /** * Parse violation table rows from the issue body. */ private parseViolationTable; /** * Parse fix instructions from the "How to Fix" section. */ private parseFixInstructions; /** * Guess the file path from just the filename. */ private guessFilePath; /** * Deduplicate issues by file path, keeping the highest issue number. */ private deduplicateByFile; /** * Sort issues by priority: errors first, fewer violations first, SCSS before TS. */ private prioritize; /** * Run a gh CLI command and return stdout. */ private runGh; } //# sourceMappingURL=issue-fetcher.d.ts.map