import type { RuleEngineContext } from './rule-engine.js'; /** * Remove a temporary directory with retry semantics for Windows ENOTEMPTY flakes. * Safe to call with falsy paths (no-op). */ export declare function cleanTmpDir(dir: string | undefined): void; /** * Build a fresh `RuleEngineContext` for a test. Captures warnings into the * returned `warnings` array so assertions can introspect logger output * without setting up module-level spies. */ export declare function makeRuleEngineCtx(): RuleEngineContext & { warnings: string[]; }; export declare function ok(stdout: string): { status: number; stdout: string; stderr: string; signal: null; }; export declare function fail(err: Error): { status: null; stdout: string; stderr: string; signal: null; error: Error; }; //# sourceMappingURL=test-utils.d.ts.map