export interface PackageManagerInfo { name: string; command: string; installCmd: string; runCmd: string; lockFile?: string; } export interface TestRunnerInfo { name: string; command: string; coverageCommand: string; framework: string; } export interface BuildToolInfo { name: string; command: string; watchCommand?: string; } /** * Detects the package manager used in the project. * Priority order: * 1. COMPACT_AGENT_PACKAGE_MANAGER (or legacy CROWCODER_PACKAGE_MANAGER) env var * 2. .compact-agent/package-manager.json in cwd (falls back to .crowcoder if present) * 3. package.json packageManager field * 4. Lock file detection * 5. Fallback: which command check */ export declare function detectPackageManager(cwd: string): PackageManagerInfo; /** * Detects the test runner used in the project */ export declare function detectTestRunner(cwd: string): TestRunnerInfo; /** * Detects the build tool used in the project */ export declare function detectBuildTool(cwd: string): BuildToolInfo;