import type { ExecutionProfile } from "../types.js"; export interface ContractTestCase { id: string; commandSet: string; command: string; profile?: string; args?: Record; options?: Record; stdin?: string; expect: { exitCode: number; stdout?: { matchesSchema?: string; contains?: string; absent?: boolean; }; stderr?: { matchesSchema?: string; contains?: string; absent?: boolean; }; }; } export interface ContractViolation { type: string; message: string; expected?: unknown; actual?: unknown; } export interface TestCaseResult { id: string; status: "passed" | "failed" | "skipped"; durationMs?: number; violations?: ContractViolation[]; } export interface TestResult { total: number; passed: number; failed: number; skipped: number; durationMs: number; cases: TestCaseResult[]; } export interface TestOptions { profile?: string; caseIds?: string[]; casesDir?: string; timeoutMs?: number; bail?: boolean; env?: Record; executionProfiles?: Record; contractFile?: string; } export declare function runContractTests(contractFiles: string[], options?: TestOptions): Promise; //# sourceMappingURL=test.d.ts.map