import type { Command } from 'commander'; import type { AutomationMaturity } from '../schemas/automation-maturity.schema.js'; export interface ScoreAutomationOptions { /** Path to the local repo to score (required). */ repo: string; /** Emit the full AutomationMaturity object as JSON to stdout instead of the human report. */ json?: boolean; } /** * Resolve `--repo` to an absolute path and assert it is an existing directory. * Fails fast with a clear, actionable message rather than letting glob silently * scan nothing and report a falsely-confident "everything is uncovered" score. */ export declare function resolveRepoPath(repoOption: string | undefined, cwd?: string): string; /** Build the human-readable report as a single string (kept pure so tests can assert on it). */ export declare function formatHumanReport(maturity: AutomationMaturity): string; /** * Core of the command, factored out of the action handler so node:test can drive it * directly against a fixture repo without spawning a process. * * Reuses scanRepo (static repo intelligence) then computes maturity explicitly. */ export declare function runScoreAutomation(options: ScoreAutomationOptions, out?: (line: string) => void): Promise; export declare function registerScoreAutomationCommand(program: Command): void; //# sourceMappingURL=score-automation-run.d.ts.map