import { z } from 'zod';
import { type ToolName, type ToolArguments, type ExecuteInput, type ExecuteOutput } from '../toolDefinition.js';
/**
 * GetDeploymentEventPlanRunsDefinition - Tool definition for fetching all plan runs triggered by a deployment event.
 */
export declare const getDeploymentEventPlanRunsParamsSchema: z.ZodObject<{
    deployment_event_id: z.ZodString;
    filter_status: z.ZodOptional<z.ZodEnum<{
        all: "all";
        passed: "passed";
        failed: "failed";
    }>>;
    include_test_details: z.ZodOptional<z.ZodBoolean>;
}, z.core.$strip>;
export declare const testRunSummarySchema: z.ZodObject<{
    testRunId: z.ZodString;
    testName: z.ZodOptional<z.ZodString>;
    status: z.ZodEnum<{
        passed: "passed";
        failed: "failed";
        skipped: "skipped";
        running: "running";
        queued: "queued";
    }>;
    failureReason: z.ZodOptional<z.ZodString>;
    durationMs: z.ZodOptional<z.ZodNumber>;
}, z.core.$strip>;
export declare const planRunInfoSchema: z.ZodObject<{
    planRunId: z.ZodString;
    planId: z.ZodOptional<z.ZodString>;
    planName: z.ZodOptional<z.ZodString>;
    status: z.ZodEnum<{
        passed: "passed";
        failed: "failed";
        running: "running";
        cancelled: "cancelled";
        terminated: "terminated";
    }>;
    startTime: z.ZodOptional<z.ZodString>;
    endTime: z.ZodOptional<z.ZodString>;
    durationMs: z.ZodOptional<z.ZodNumber>;
    testCounts: z.ZodOptional<z.ZodObject<{
        total: z.ZodNumber;
        passed: z.ZodNumber;
        failed: z.ZodNumber;
        skipped: z.ZodNumber;
    }, z.core.$strip>>;
    passRate: z.ZodOptional<z.ZodNumber>;
    failedTests: z.ZodOptional<z.ZodArray<z.ZodObject<{
        testRunId: z.ZodString;
        testName: z.ZodOptional<z.ZodString>;
        status: z.ZodEnum<{
            passed: "passed";
            failed: "failed";
            skipped: "skipped";
            running: "running";
            queued: "queued";
        }>;
        failureReason: z.ZodOptional<z.ZodString>;
        durationMs: z.ZodOptional<z.ZodNumber>;
    }, z.core.$strip>>>;
}, z.core.$strip>;
export declare const failurePatternSchema: z.ZodObject<{
    reason: z.ZodString;
    count: z.ZodNumber;
    planNames: z.ZodArray<z.ZodString>;
}, z.core.$strip>;
export declare const getDeploymentEventPlanRunsResponseSchema: z.ZodObject<{
    planRuns: z.ZodArray<z.ZodObject<{
        planRunId: z.ZodString;
        planId: z.ZodOptional<z.ZodString>;
        planName: z.ZodOptional<z.ZodString>;
        status: z.ZodEnum<{
            passed: "passed";
            failed: "failed";
            running: "running";
            cancelled: "cancelled";
            terminated: "terminated";
        }>;
        startTime: z.ZodOptional<z.ZodString>;
        endTime: z.ZodOptional<z.ZodString>;
        durationMs: z.ZodOptional<z.ZodNumber>;
        testCounts: z.ZodOptional<z.ZodObject<{
            total: z.ZodNumber;
            passed: z.ZodNumber;
            failed: z.ZodNumber;
            skipped: z.ZodNumber;
        }, z.core.$strip>>;
        passRate: z.ZodOptional<z.ZodNumber>;
        failedTests: z.ZodOptional<z.ZodArray<z.ZodObject<{
            testRunId: z.ZodString;
            testName: z.ZodOptional<z.ZodString>;
            status: z.ZodEnum<{
                passed: "passed";
                failed: "failed";
                skipped: "skipped";
                running: "running";
                queued: "queued";
            }>;
            failureReason: z.ZodOptional<z.ZodString>;
            durationMs: z.ZodOptional<z.ZodNumber>;
        }, z.core.$strip>>>;
    }, z.core.$strip>>;
    summary: z.ZodObject<{
        totalPlanRuns: z.ZodNumber;
        passedPlanRuns: z.ZodNumber;
        failedPlanRuns: z.ZodNumber;
        runningPlanRuns: z.ZodNumber;
        overallPassRate: z.ZodOptional<z.ZodNumber>;
        totalTestRuns: z.ZodOptional<z.ZodNumber>;
        passedTestRuns: z.ZodOptional<z.ZodNumber>;
        failedTestRuns: z.ZodOptional<z.ZodNumber>;
    }, z.core.$strip>;
    failurePatterns: z.ZodOptional<z.ZodArray<z.ZodObject<{
        reason: z.ZodString;
        count: z.ZodNumber;
        planNames: z.ZodArray<z.ZodString>;
    }, z.core.$strip>>>;
}, z.core.$strip>;
export declare const GetDeploymentEventPlanRunsToolDefinition: import("../toolDefinition.js").ToolDefinition<"get_deployment_event_plan_runs", z.ZodObject<{
    deployment_event_id: z.ZodString;
    filter_status: z.ZodOptional<z.ZodEnum<{
        all: "all";
        passed: "passed";
        failed: "failed";
    }>>;
    include_test_details: z.ZodOptional<z.ZodBoolean>;
}, z.core.$strip>, undefined, z.ZodObject<{
    planRuns: z.ZodArray<z.ZodObject<{
        planRunId: z.ZodString;
        planId: z.ZodOptional<z.ZodString>;
        planName: z.ZodOptional<z.ZodString>;
        status: z.ZodEnum<{
            passed: "passed";
            failed: "failed";
            running: "running";
            cancelled: "cancelled";
            terminated: "terminated";
        }>;
        startTime: z.ZodOptional<z.ZodString>;
        endTime: z.ZodOptional<z.ZodString>;
        durationMs: z.ZodOptional<z.ZodNumber>;
        testCounts: z.ZodOptional<z.ZodObject<{
            total: z.ZodNumber;
            passed: z.ZodNumber;
            failed: z.ZodNumber;
            skipped: z.ZodNumber;
        }, z.core.$strip>>;
        passRate: z.ZodOptional<z.ZodNumber>;
        failedTests: z.ZodOptional<z.ZodArray<z.ZodObject<{
            testRunId: z.ZodString;
            testName: z.ZodOptional<z.ZodString>;
            status: z.ZodEnum<{
                passed: "passed";
                failed: "failed";
                skipped: "skipped";
                running: "running";
                queued: "queued";
            }>;
            failureReason: z.ZodOptional<z.ZodString>;
            durationMs: z.ZodOptional<z.ZodNumber>;
        }, z.core.$strip>>>;
    }, z.core.$strip>>;
    summary: z.ZodObject<{
        totalPlanRuns: z.ZodNumber;
        passedPlanRuns: z.ZodNumber;
        failedPlanRuns: z.ZodNumber;
        runningPlanRuns: z.ZodNumber;
        overallPassRate: z.ZodOptional<z.ZodNumber>;
        totalTestRuns: z.ZodOptional<z.ZodNumber>;
        passedTestRuns: z.ZodOptional<z.ZodNumber>;
        failedTestRuns: z.ZodOptional<z.ZodNumber>;
    }, z.core.$strip>;
    failurePatterns: z.ZodOptional<z.ZodArray<z.ZodObject<{
        reason: z.ZodString;
        count: z.ZodNumber;
        planNames: z.ZodArray<z.ZodString>;
    }, z.core.$strip>>>;
}, z.core.$strip>>;
export type GetDeploymentEventPlanRunsToolName = ToolName<typeof GetDeploymentEventPlanRunsToolDefinition>;
export type GetDeploymentEventPlanRunsToolArguments = ToolArguments<typeof GetDeploymentEventPlanRunsToolDefinition>;
export type GetDeploymentEventPlanRunsToolInput = ExecuteInput<typeof GetDeploymentEventPlanRunsToolDefinition>;
export type GetDeploymentEventPlanRunsToolOutput = ExecuteOutput<typeof GetDeploymentEventPlanRunsToolDefinition>;
export type PlanRunInfo = z.infer<typeof planRunInfoSchema>;
export type TestRunSummary = z.infer<typeof testRunSummarySchema>;
export type FailurePattern = z.infer<typeof failurePatternSchema>;
export type GetDeploymentEventPlanRunsResponse = z.infer<typeof getDeploymentEventPlanRunsResponseSchema>;
//# sourceMappingURL=GetDeploymentEventPlanRunsDefinition.d.ts.map