/** * Implementation quality metrics extraction. * * Analyzes a worktree after AI implementation to extract quantitative * metrics: files created/modified, lines changed, commit count, and * optional test/build/lint results. * * @module */ import type { ImplementationMetrics } from './types.js'; /** * Options for metric extraction. */ interface MetricOptions { /** Git ref (SHA) captured before the AI run — used as base for diff and commit counting */ baseRef?: string; runTests?: boolean; runBuild?: boolean; runLint?: boolean; debug?: boolean; } /** * Extract implementation metrics from a worktree after an AI run. * * Uses git to measure code changes and optionally runs test/build/lint * commands to assess quality. * * @param cwd - Path to the worktree * @param options - Which quality checks to run * @returns Extracted metrics */ export declare function extractImplementationMetrics(cwd: string, options?: MetricOptions): Promise; export {}; //# sourceMappingURL=metrics.d.ts.map