/** * [WHO]: Provides detectTestCommand(), runTests(), MONOREPO_MARKERS * [FROM]: Depends on node fs/path/child_process and simplify TestDetection type * [TO]: Consumed by extensions/optional/simplify/index.ts for post-apply verification * [HERE]: extensions/optional/simplify/test-detector.ts - monorepo-aware test command detection and execution */ import type { TestDetection } from "./simplify-types.js"; /** * Detect the appropriate test command for the project * * Detection order: * 1. package.json scripts.test (if not a placeholder) * 2. Framework-specific config files (pytest, cargo, go) * * Returns confidence level (0-1) indicating detection quality */ export declare function detectTestCommand(cwd: string): TestDetection; /** * Run tests and return result * * @param cwd - Working directory * @returns Success status and output */ export declare function runTests(cwd: string): { success: boolean; output: string; };