export interface FileDiff { path: string; isNew: boolean; changes: DiffLine[]; timestamp: number; } export interface DiffLine { type: 'add' | 'remove' | 'unchanged'; content: string; lineNumber?: number; } export type TokenType = 'keyword' | 'string' | 'comment' | 'number' | 'function' | 'type' | 'operator' | 'punctuation' | 'plain'; export interface Token { type: TokenType; value: string; } export declare function getLanguage(path: string): string; export declare function tokenize(line: string, language: string): Token[]; export declare function computeDiff(path: string, oldContent: string | null, newContent: string): FileDiff; export declare function filterWithContext(changes: DiffLine[], contextLines: number): DiffLine[]; export declare function formatDiffLine(change: DiffLine): string;