import { z } from 'zod';
import { type ToolName, type ToolArguments, type ExecuteInput, type ExecuteOutput } from '../toolDefinition.js';
/**
 * QueryWorkspacePlanRunsDefinition - Tool definition for listing plan runs in a workspace.
 * Filters (workspace, time range, environment, application) are supplied by the server from
 * the session context and are not passed as tool arguments.
 */
export declare const queryWorkspacePlanRunsParamsSchema: z.ZodObject<{
    limit: z.ZodOptional<z.ZodNumber>;
    fetch_all: z.ZodOptional<z.ZodBoolean>;
    filter_status: z.ZodOptional<z.ZodEnum<{
        all: "all";
        passed: "passed";
        failed: "failed";
    }>>;
}, z.core.$strip>;
declare const workspacePlanRunSummarySchema: z.ZodObject<{
    planRunId: z.ZodString;
    planId: z.ZodOptional<z.ZodString>;
    planName: z.ZodOptional<z.ZodString>;
    status: z.ZodEnum<{
        passed: "passed";
        failed: "failed";
        running: "running";
        queued: "queued";
        cancelled: "cancelled";
        terminated: "terminated";
    }>;
    startTime: z.ZodOptional<z.ZodString>;
    endTime: z.ZodOptional<z.ZodString>;
    durationMs: z.ZodOptional<z.ZodNumber>;
    applicationId: z.ZodOptional<z.ZodString>;
    environmentId: z.ZodOptional<z.ZodString>;
}, z.core.$strip>;
export declare const queryWorkspacePlanRunsResponseSchema: 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";
            queued: "queued";
            cancelled: "cancelled";
            terminated: "terminated";
        }>;
        startTime: z.ZodOptional<z.ZodString>;
        endTime: z.ZodOptional<z.ZodString>;
        durationMs: z.ZodOptional<z.ZodNumber>;
        applicationId: z.ZodOptional<z.ZodString>;
        environmentId: z.ZodOptional<z.ZodString>;
    }, z.core.$strip>>;
    total_matching: z.ZodNumber;
    total_matching_count_incomplete: z.ZodOptional<z.ZodBoolean>;
    returned_count: z.ZodNumber;
    truncated: z.ZodBoolean;
    stopped_early: z.ZodBoolean;
    appliedFilters: z.ZodObject<{
        workspaceId: z.ZodString;
        startTime: z.ZodString;
        endTime: z.ZodString;
        environmentId: z.ZodOptional<z.ZodString>;
        applicationId: z.ZodOptional<z.ZodString>;
    }, z.core.$strip>;
}, z.core.$strip>;
export declare const QueryWorkspacePlanRunsToolDefinition: import("../toolDefinition.js").ToolDefinition<"query_workspace_plan_runs", z.ZodObject<{
    limit: z.ZodOptional<z.ZodNumber>;
    fetch_all: z.ZodOptional<z.ZodBoolean>;
    filter_status: z.ZodOptional<z.ZodEnum<{
        all: "all";
        passed: "passed";
        failed: "failed";
    }>>;
}, 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";
            queued: "queued";
            cancelled: "cancelled";
            terminated: "terminated";
        }>;
        startTime: z.ZodOptional<z.ZodString>;
        endTime: z.ZodOptional<z.ZodString>;
        durationMs: z.ZodOptional<z.ZodNumber>;
        applicationId: z.ZodOptional<z.ZodString>;
        environmentId: z.ZodOptional<z.ZodString>;
    }, z.core.$strip>>;
    total_matching: z.ZodNumber;
    total_matching_count_incomplete: z.ZodOptional<z.ZodBoolean>;
    returned_count: z.ZodNumber;
    truncated: z.ZodBoolean;
    stopped_early: z.ZodBoolean;
    appliedFilters: z.ZodObject<{
        workspaceId: z.ZodString;
        startTime: z.ZodString;
        endTime: z.ZodString;
        environmentId: z.ZodOptional<z.ZodString>;
        applicationId: z.ZodOptional<z.ZodString>;
    }, z.core.$strip>;
}, z.core.$strip>>;
export type QueryWorkspacePlanRunsToolName = ToolName<typeof QueryWorkspacePlanRunsToolDefinition>;
export type QueryWorkspacePlanRunsToolArguments = ToolArguments<typeof QueryWorkspacePlanRunsToolDefinition>;
export type QueryWorkspacePlanRunsToolInput = ExecuteInput<typeof QueryWorkspacePlanRunsToolDefinition>;
export type QueryWorkspacePlanRunsToolOutput = ExecuteOutput<typeof QueryWorkspacePlanRunsToolDefinition>;
export type QueryWorkspacePlanRunsResponse = z.infer<typeof queryWorkspacePlanRunsResponseSchema>;
export type WorkspacePlanRunSummary = z.infer<typeof workspacePlanRunSummarySchema>;
export {};
//# sourceMappingURL=QueryWorkspacePlanRunsDefinition.d.ts.map