/**
 * File utilities for Vigthoria CLI
 */
export interface FileInfo {
    path: string;
    relativePath: string;
    content: string;
    language: string;
    lines: number;
}
export declare class FileUtils {
    private projectRoot;
    private ignorePatterns;
    constructor(projectRoot: string, ignorePatterns?: string[]);
    readFile(filePath: string): FileInfo | null;
    readLines(filePath: string, start: number, end: number): string | null;
    writeFile(filePath: string, content: string): boolean;
    backupFile(filePath: string): string | null;
    listFiles(pattern?: string): Promise<string[]>;
    detectLanguage(filePath: string): string;
    getProjectContext(maxFiles?: number): Promise<{
        type: string;
        files: string[];
        dependencies: Record<string, string>;
    }>;
    createDiff(original: string, modified: string): {
        added: string[];
        removed: string[];
    };
}
