/** * QA360 Run Command - Execute quality gates * * Usage: * qa360 run [pack.yaml] * qa360 run --output ./results * qa360 run --verbose */ import { type Phase3RunResult, type PackConfigV1, type PackConfigV2 } from '../core/index.js'; /** * CLI options for run command */ export interface RunOptions { output?: string; verbose?: boolean; dryRun?: boolean; strict?: boolean; headed?: boolean; } /** * Unified pack type - can be v1 or v2, Phase3Runner handles both */ export type PackConfig = PackConfigV1 | PackConfigV2; /** * Load and validate pack configuration (supports both v1 and v2) * Uses PackLoaderV2 which automatically migrates v1 to v2 */ export declare function loadPack(packPath: string): Promise; /** * Find pack file (search order: argument, .qa360/pack.yml, pack.yaml, pack.yml) */ export declare function findPackFile(packArg?: string): string; /** * Display run results summary */ export declare function displayResults(result: Phase3RunResult): void; /** * Main run command */ export declare function runCommand(packArg?: string, options?: RunOptions): Promise; export default runCommand; /** * Preflight command - Validate pack without executing tests */ export declare function preflightCommand(packArg?: string): Promise;