/**
 * Generic tool runner -- uses grep, find, wc, git (and the canonical
 * walkSourceFiles / countLineMatches helpers for source-line metrics).
 * Works on any Unix machine with no external dependencies.
 * This is Layer 0: always available.
 */
import { HealthMetrics } from '../types';
import type { DetectedStack } from '../../types';
/**
 * Gather metrics using only built-in Unix tools + the canonical walker.
 *
 * `languageFlags` drives the architecturalShape-aware path counters
 * (primary components, route handlers, data models). When omitted
 * (legacy callers, tests) the path counters degrade to zero rather
 * than silently using a hardcoded backend-centric default — every
 * shipped caller in the codebase threads the active stack through.
 */
export declare function gatherGenericMetrics(cwd: string, languageFlags?: DetectedStack['languages']): Partial<HealthMetrics>;
//# sourceMappingURL=generic.d.ts.map