import type { AuditorInput, AuditorOutput } from '../types/events.js'; export interface GitHubConfig { token: string; apiUrl?: string; } export interface PullRequest { number: number; title: string; body: string; head: { sha: string; ref: string; }; base: { ref: string; }; user: { login: string; }; changed_files: number; additions: number; deletions: number; } export interface ChangedFile { filename: string; status: string; additions: number; deletions: number; patch?: string; } export declare class GitHubIntegration { private token; private apiUrl; constructor(config: GitHubConfig); private fetch; getPullRequest(owner: string, repo: string, prNumber: number): Promise; getPullRequestFiles(owner: string, repo: string, prNumber: number): Promise; getPullRequestDiff(owner: string, repo: string, prNumber: number): Promise; createAuditInput(owner: string, repo: string, prNumber: number, criticalAssets?: string[]): Promise; createCheckRun(owner: string, repo: string, headSha: string, output: AuditorOutput): Promise; createPRComment(owner: string, repo: string, prNumber: number, output: AuditorOutput): Promise; private formatCheckSummary; private formatAnnotations; private formatCommentBody; }