import type { Clark, ClarkStateHandlerParams } from "../../../state-machine/clark-fsm.js";
/**
 * endTestRun - Ends the current test run and reports results.
 *
 * This tool:
 * 1. Reconciles any incomplete test cases (sets their final status)
 * 2. Sends test_run_end message to UI with status
 * 3. Clears test run context
 *
 * Only accessible to the TEST subagent (ToolCategory.TEST).
 */
export declare const endTestRunToolFactory: import("../types.js").ToolFactory<{
    clark: Clark;
    services: ClarkStateHandlerParams;
}, import("../types.js").Tool<{
    status: "completed" | "failed";
    summary: string;
}, {
    success: boolean;
    error: string;
    testRunId?: undefined;
    testStatus?: undefined;
    summary?: undefined;
} | {
    success: boolean;
    testRunId: string;
    testStatus: "completed" | "failed";
    summary: string;
    readonly error?: undefined;
}>>;
//# sourceMappingURL=end-test-run.d.ts.map