import type { DevToolsSys } from "../../types";
import type { FileOverride } from "#ai-utils";
export interface CollectedFiles {
    projectNpmrc?: {
        path: string;
        content: string;
    };
    userNpmrc?: {
        path: string;
        content: string;
    };
    etcHosts?: {
        path: string;
        content: string;
    };
}
/**
 * Collect configuration files from the project and system
 */
export declare function collectConfigFiles(sys: DevToolsSys, gitRoot: string): Promise<CollectedFiles>;
/**
 * Convert collected files to FileOverride array with proper path conventions
 *
 * Path conventions:
 * - ./ prefix = relative to git repository root
 * - ~/ prefix = relative to home directory
 * - absolute paths = only for well-known system files
 */
export declare function filesToFileOverrides(collected: CollectedFiles): FileOverride[];
/**
 * Format collected files summary
 */
export declare function formatFilesSummary(collected: CollectedFiles): string[];
/**
 * Present multiselect UI for file overrides
 */
export declare function selectFileOverrides(collected: CollectedFiles): Promise<FileOverride[] | null>;
