import { z } from 'zod';
import { type ToolName, type ToolArguments, type ExecuteInput, type ExecuteOutput } from '../toolDefinition.js';
/**
 * GetPlanRunTestRunsDefinition - Tool definition for fetching all test runs within a plan run.
 */
export declare const getPlanRunTestRunsParamsSchema: z.ZodObject<{
    plan_run_id: z.ZodString;
    filter_status: z.ZodOptional<z.ZodEnum<{
        all: "all";
        passed: "passed";
        failed: "failed";
        skipped: "skipped";
    }>>;
    limit: z.ZodOptional<z.ZodNumber>;
}, z.core.$strip>;
export declare const testRunInfoSchema: z.ZodObject<{
    testRunId: z.ZodString;
    testName: z.ZodOptional<z.ZodString>;
    testId: z.ZodOptional<z.ZodString>;
    status: z.ZodEnum<{
        passed: "passed";
        failed: "failed";
        skipped: "skipped";
        running: "running";
        queued: "queued";
    }>;
    durationMs: z.ZodOptional<z.ZodNumber>;
    browser: z.ZodOptional<z.ZodString>;
    failureReason: z.ZodOptional<z.ZodString>;
    stageIndex: z.ZodOptional<z.ZodNumber>;
}, z.core.$strip>;
export declare const failurePatternSchema: z.ZodObject<{
    reason: z.ZodString;
    count: z.ZodNumber;
    testNames: z.ZodArray<z.ZodString>;
}, z.core.$strip>;
export declare const getPlanRunTestRunsResponseSchema: z.ZodObject<{
    testRuns: z.ZodArray<z.ZodObject<{
        testRunId: z.ZodString;
        testName: z.ZodOptional<z.ZodString>;
        testId: z.ZodOptional<z.ZodString>;
        status: z.ZodEnum<{
            passed: "passed";
            failed: "failed";
            skipped: "skipped";
            running: "running";
            queued: "queued";
        }>;
        durationMs: z.ZodOptional<z.ZodNumber>;
        browser: z.ZodOptional<z.ZodString>;
        failureReason: z.ZodOptional<z.ZodString>;
        stageIndex: z.ZodOptional<z.ZodNumber>;
    }, z.core.$strip>>;
    summary: z.ZodObject<{
        total: z.ZodNumber;
        passed: z.ZodNumber;
        failed: z.ZodNumber;
        skipped: z.ZodNumber;
        running: z.ZodNumber;
    }, z.core.$strip>;
    failurePatterns: z.ZodOptional<z.ZodArray<z.ZodObject<{
        reason: z.ZodString;
        count: z.ZodNumber;
        testNames: z.ZodArray<z.ZodString>;
    }, z.core.$strip>>>;
}, z.core.$strip>;
export declare const GetPlanRunTestRunsToolDefinition: import("../toolDefinition.js").ToolDefinition<"get_plan_run_test_runs", z.ZodObject<{
    plan_run_id: z.ZodString;
    filter_status: z.ZodOptional<z.ZodEnum<{
        all: "all";
        passed: "passed";
        failed: "failed";
        skipped: "skipped";
    }>>;
    limit: z.ZodOptional<z.ZodNumber>;
}, z.core.$strip>, undefined, z.ZodObject<{
    testRuns: z.ZodArray<z.ZodObject<{
        testRunId: z.ZodString;
        testName: z.ZodOptional<z.ZodString>;
        testId: z.ZodOptional<z.ZodString>;
        status: z.ZodEnum<{
            passed: "passed";
            failed: "failed";
            skipped: "skipped";
            running: "running";
            queued: "queued";
        }>;
        durationMs: z.ZodOptional<z.ZodNumber>;
        browser: z.ZodOptional<z.ZodString>;
        failureReason: z.ZodOptional<z.ZodString>;
        stageIndex: z.ZodOptional<z.ZodNumber>;
    }, z.core.$strip>>;
    summary: z.ZodObject<{
        total: z.ZodNumber;
        passed: z.ZodNumber;
        failed: z.ZodNumber;
        skipped: z.ZodNumber;
        running: z.ZodNumber;
    }, z.core.$strip>;
    failurePatterns: z.ZodOptional<z.ZodArray<z.ZodObject<{
        reason: z.ZodString;
        count: z.ZodNumber;
        testNames: z.ZodArray<z.ZodString>;
    }, z.core.$strip>>>;
}, z.core.$strip>>;
export type GetPlanRunTestRunsToolName = ToolName<typeof GetPlanRunTestRunsToolDefinition>;
export type GetPlanRunTestRunsToolArguments = ToolArguments<typeof GetPlanRunTestRunsToolDefinition>;
export type GetPlanRunTestRunsToolInput = ExecuteInput<typeof GetPlanRunTestRunsToolDefinition>;
export type GetPlanRunTestRunsToolOutput = ExecuteOutput<typeof GetPlanRunTestRunsToolDefinition>;
export type GetPlanRunTestRunsResponse = z.infer<typeof getPlanRunTestRunsResponseSchema>;
export type TestRunInfo = z.infer<typeof testRunInfoSchema>;
export type FailurePattern = z.infer<typeof failurePatternSchema>;
//# sourceMappingURL=GetPlanRunTestRunsDefinition.d.ts.map