import type { FileCollectionResult } from '../../types/index.js';
export type { FileCollectionResult };
/**
 * Collects files from the project path, detects the stack, and returns up to MAX_FILES paths.
 * Optionally filters by enabled languages.
 */
export declare function collectFiles(projectPath: string, enabledLanguages?: string[]): Promise<FileCollectionResult>;
/**
 * Processes items in sequential batches to avoid unbounded concurrency.
 * Each batch runs in parallel internally, but batches are processed one at a time.
 * Prevents spawning thousands of concurrent operations (e.g. 1000 files × N detectors).
 */
export declare function processBatched<T>(items: string[], batchSize: number, fn: (item: string) => Promise<T>): Promise<T[]>;
//# sourceMappingURL=file-collector.d.ts.map