import { z } from 'zod';
export declare const LIST_DATASETS_ROUTE: import("../server-adapter").ServerRoute<{
    page: number;
    perPage: number;
}, {
    datasets: {
        id: string;
        name: string;
        version: number;
        createdAt: Date;
        updatedAt: Date;
        description?: string | null | undefined;
        metadata?: Record<string, unknown> | null | undefined;
        inputSchema?: Record<string, unknown> | undefined;
        groundTruthSchema?: Record<string, unknown> | undefined;
        requestContextSchema?: Record<string, unknown> | undefined;
        tags?: string[] | null | undefined;
        targetType?: string | null | undefined;
        targetIds?: string[] | null | undefined;
        scorerIds?: string[] | null | undefined;
    }[];
    pagination: {
        total: number;
        page: number;
        perPage: number | false;
        hasMore: boolean;
    };
}, "json", import("../server-adapter").RouteSchemas<undefined, z.ZodObject<{
    page: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
    perPage: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
}, z.core.$strip>, undefined, z.ZodObject<{
    datasets: z.ZodArray<z.ZodObject<{
        id: z.ZodString;
        name: z.ZodString;
        description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
        metadata: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
        inputSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
        groundTruthSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
        requestContextSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
        tags: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString>>>;
        targetType: z.ZodNullable<z.ZodOptional<z.ZodString>>;
        targetIds: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString>>>;
        scorerIds: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString>>>;
        version: z.ZodNumber;
        createdAt: z.ZodCoercedDate<unknown>;
        updatedAt: z.ZodCoercedDate<unknown>;
    }, z.core.$strip>>;
    pagination: z.ZodObject<{
        total: z.ZodNumber;
        page: z.ZodNumber;
        perPage: z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<false>]>;
        hasMore: z.ZodBoolean;
    }, z.core.$strip>;
}, z.core.$strip>>, "GET", "/datasets">;
export declare const CREATE_DATASET_ROUTE: import("../server-adapter").ServerRoute<{
    name: string;
    description?: string | undefined;
    metadata?: Record<string, unknown> | undefined;
    inputSchema?: Record<string, unknown> | null | undefined;
    groundTruthSchema?: Record<string, unknown> | null | undefined;
    requestContextSchema?: Record<string, unknown> | null | undefined;
    targetType?: string | undefined;
    targetIds?: string[] | undefined;
    scorerIds?: string[] | undefined;
}, {
    id: string;
    name: string;
    version: number;
    createdAt: Date;
    updatedAt: Date;
    description?: string | null | undefined;
    metadata?: Record<string, unknown> | null | undefined;
    inputSchema?: Record<string, unknown> | undefined;
    groundTruthSchema?: Record<string, unknown> | undefined;
    requestContextSchema?: Record<string, unknown> | undefined;
    tags?: string[] | null | undefined;
    targetType?: string | null | undefined;
    targetIds?: string[] | null | undefined;
    scorerIds?: string[] | null | undefined;
}, "json", import("../server-adapter").RouteSchemas<undefined, undefined, z.ZodObject<{
    name: z.ZodString;
    description: z.ZodOptional<z.ZodString>;
    metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
    inputSchema: z.ZodOptional<z.ZodUnion<readonly [z.ZodType<Record<string, unknown>, unknown, z.core.$ZodTypeInternals<Record<string, unknown>, unknown>>, z.ZodNull]>>;
    groundTruthSchema: z.ZodOptional<z.ZodUnion<readonly [z.ZodType<Record<string, unknown>, unknown, z.core.$ZodTypeInternals<Record<string, unknown>, unknown>>, z.ZodNull]>>;
    requestContextSchema: z.ZodOptional<z.ZodUnion<readonly [z.ZodType<Record<string, unknown>, unknown, z.core.$ZodTypeInternals<Record<string, unknown>, unknown>>, z.ZodNull]>>;
    targetType: z.ZodOptional<z.ZodString>;
    targetIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
    scorerIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
}, z.core.$strip>, z.ZodObject<{
    id: z.ZodString;
    name: z.ZodString;
    description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
    metadata: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
    inputSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
    groundTruthSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
    requestContextSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
    tags: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString>>>;
    targetType: z.ZodNullable<z.ZodOptional<z.ZodString>>;
    targetIds: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString>>>;
    scorerIds: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString>>>;
    version: z.ZodNumber;
    createdAt: z.ZodCoercedDate<unknown>;
    updatedAt: z.ZodCoercedDate<unknown>;
}, z.core.$strip>>, "POST", "/datasets">;
export declare const GET_DATASET_ROUTE: import("../server-adapter").ServerRoute<{
    datasetId: string;
}, {
    id: string;
    name: string;
    version: number;
    createdAt: Date;
    updatedAt: Date;
    description?: string | null | undefined;
    metadata?: Record<string, unknown> | null | undefined;
    inputSchema?: Record<string, unknown> | undefined;
    groundTruthSchema?: Record<string, unknown> | undefined;
    requestContextSchema?: Record<string, unknown> | undefined;
    tags?: string[] | null | undefined;
    targetType?: string | null | undefined;
    targetIds?: string[] | null | undefined;
    scorerIds?: string[] | null | undefined;
} | null, "json", import("../server-adapter").RouteSchemas<z.ZodObject<{
    datasetId: z.ZodString;
}, z.core.$strip>, undefined, undefined, z.ZodNullable<z.ZodObject<{
    id: z.ZodString;
    name: z.ZodString;
    description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
    metadata: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
    inputSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
    groundTruthSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
    requestContextSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
    tags: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString>>>;
    targetType: z.ZodNullable<z.ZodOptional<z.ZodString>>;
    targetIds: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString>>>;
    scorerIds: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString>>>;
    version: z.ZodNumber;
    createdAt: z.ZodCoercedDate<unknown>;
    updatedAt: z.ZodCoercedDate<unknown>;
}, z.core.$strip>>>, "GET", "/datasets/:datasetId">;
export declare const UPDATE_DATASET_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<z.ZodObject<{
    datasetId: z.ZodString;
}, z.core.$strip>, undefined, z.ZodObject<{
    name: z.ZodOptional<z.ZodString>;
    description: z.ZodOptional<z.ZodString>;
    metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
    inputSchema: z.ZodOptional<z.ZodUnion<readonly [z.ZodType<Record<string, unknown>, unknown, z.core.$ZodTypeInternals<Record<string, unknown>, unknown>>, z.ZodNull]>>;
    groundTruthSchema: z.ZodOptional<z.ZodUnion<readonly [z.ZodType<Record<string, unknown>, unknown, z.core.$ZodTypeInternals<Record<string, unknown>, unknown>>, z.ZodNull]>>;
    requestContextSchema: z.ZodOptional<z.ZodUnion<readonly [z.ZodType<Record<string, unknown>, unknown, z.core.$ZodTypeInternals<Record<string, unknown>, unknown>>, z.ZodNull]>>;
    tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
    targetType: z.ZodOptional<z.ZodString>;
    targetIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
    scorerIds: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString>>>;
}, z.core.$strip>>, {
    id: string;
    name: string;
    version: number;
    createdAt: Date;
    updatedAt: Date;
    description?: string | null | undefined;
    metadata?: Record<string, unknown> | null | undefined;
    inputSchema?: Record<string, unknown> | undefined;
    groundTruthSchema?: Record<string, unknown> | undefined;
    requestContextSchema?: Record<string, unknown> | undefined;
    tags?: string[] | null | undefined;
    targetType?: string | null | undefined;
    targetIds?: string[] | null | undefined;
    scorerIds?: string[] | null | undefined;
}, "json", import("../server-adapter").RouteSchemas<z.ZodObject<{
    datasetId: z.ZodString;
}, z.core.$strip>, undefined, z.ZodObject<{
    name: z.ZodOptional<z.ZodString>;
    description: z.ZodOptional<z.ZodString>;
    metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
    inputSchema: z.ZodOptional<z.ZodUnion<readonly [z.ZodType<Record<string, unknown>, unknown, z.core.$ZodTypeInternals<Record<string, unknown>, unknown>>, z.ZodNull]>>;
    groundTruthSchema: z.ZodOptional<z.ZodUnion<readonly [z.ZodType<Record<string, unknown>, unknown, z.core.$ZodTypeInternals<Record<string, unknown>, unknown>>, z.ZodNull]>>;
    requestContextSchema: z.ZodOptional<z.ZodUnion<readonly [z.ZodType<Record<string, unknown>, unknown, z.core.$ZodTypeInternals<Record<string, unknown>, unknown>>, z.ZodNull]>>;
    tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
    targetType: z.ZodOptional<z.ZodString>;
    targetIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
    scorerIds: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString>>>;
}, z.core.$strip>, z.ZodObject<{
    id: z.ZodString;
    name: z.ZodString;
    description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
    metadata: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
    inputSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
    groundTruthSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
    requestContextSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
    tags: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString>>>;
    targetType: z.ZodNullable<z.ZodOptional<z.ZodString>>;
    targetIds: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString>>>;
    scorerIds: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString>>>;
    version: z.ZodNumber;
    createdAt: z.ZodCoercedDate<unknown>;
    updatedAt: z.ZodCoercedDate<unknown>;
}, z.core.$strip>>, "PATCH", "/datasets/:datasetId">;
export declare const DELETE_DATASET_ROUTE: import("../server-adapter").ServerRoute<{
    datasetId: string;
}, {
    success: boolean;
}, "json", import("../server-adapter").RouteSchemas<z.ZodObject<{
    datasetId: z.ZodString;
}, z.core.$strip>, undefined, undefined, z.ZodObject<{
    success: z.ZodBoolean;
}, z.core.$strip>>, "DELETE", "/datasets/:datasetId">;
export declare const LIST_ITEMS_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<z.ZodObject<{
    datasetId: z.ZodString;
}, z.core.$strip>, z.ZodObject<{
    page: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
    perPage: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
    version: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
    search: z.ZodOptional<z.ZodString>;
}, z.core.$strip>, undefined>, {
    items: {
        id: string;
        datasetId: string;
        datasetVersion: number;
        input: unknown;
        createdAt: Date;
        updatedAt: Date;
        groundTruth?: unknown;
        expectedTrajectory?: unknown;
        requestContext?: Record<string, unknown> | undefined;
        metadata?: Record<string, unknown> | undefined;
        source?: {
            type: "json" | "csv" | "trace" | "llm" | "experiment-result";
            referenceId?: string | undefined;
        } | undefined;
    }[];
    pagination: {
        total: number;
        page: number;
        perPage: number | false;
        hasMore: boolean;
    };
}, "json", import("../server-adapter").RouteSchemas<z.ZodObject<{
    datasetId: z.ZodString;
}, z.core.$strip>, z.ZodObject<{
    page: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
    perPage: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
    version: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
    search: z.ZodOptional<z.ZodString>;
}, z.core.$strip>, undefined, z.ZodObject<{
    items: z.ZodArray<z.ZodObject<{
        id: z.ZodString;
        datasetId: z.ZodString;
        datasetVersion: z.ZodNumber;
        input: z.ZodUnknown;
        groundTruth: z.ZodOptional<z.ZodUnknown>;
        expectedTrajectory: z.ZodOptional<z.ZodUnknown>;
        requestContext: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
        metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
        source: z.ZodOptional<z.ZodObject<{
            type: z.ZodEnum<{
                json: "json";
                csv: "csv";
                trace: "trace";
                llm: "llm";
                "experiment-result": "experiment-result";
            }>;
            referenceId: z.ZodOptional<z.ZodString>;
        }, z.core.$strip>>;
        createdAt: z.ZodCoercedDate<unknown>;
        updatedAt: z.ZodCoercedDate<unknown>;
    }, z.core.$strip>>;
    pagination: z.ZodObject<{
        total: z.ZodNumber;
        page: z.ZodNumber;
        perPage: z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<false>]>;
        hasMore: z.ZodBoolean;
    }, z.core.$strip>;
}, z.core.$strip>>, "GET", "/datasets/:datasetId/items">;
export declare const ADD_ITEM_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<z.ZodObject<{
    datasetId: z.ZodString;
}, z.core.$strip>, undefined, z.ZodObject<{
    input: z.ZodUnknown;
    groundTruth: z.ZodOptional<z.ZodUnknown>;
    expectedTrajectory: z.ZodNullable<z.ZodOptional<z.ZodObject<{
        steps: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodDiscriminatedUnion<[z.ZodObject<{
            stepType: z.ZodLiteral<"tool_call">;
            toolArgs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
            toolResult: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
            success: z.ZodOptional<z.ZodBoolean>;
            name: z.ZodString;
            durationMs: z.ZodOptional<z.ZodNumber>;
            metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
            children: z.ZodOptional<z.ZodAny>;
        }, z.core.$strip>, z.ZodObject<{
            stepType: z.ZodLiteral<"mcp_tool_call">;
            toolArgs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
            toolResult: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
            mcpServer: z.ZodOptional<z.ZodString>;
            success: z.ZodOptional<z.ZodBoolean>;
            name: z.ZodString;
            durationMs: z.ZodOptional<z.ZodNumber>;
            metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
            children: z.ZodOptional<z.ZodAny>;
        }, z.core.$strip>, z.ZodObject<{
            stepType: z.ZodLiteral<"model_generation">;
            modelId: z.ZodOptional<z.ZodString>;
            promptTokens: z.ZodOptional<z.ZodNumber>;
            completionTokens: z.ZodOptional<z.ZodNumber>;
            finishReason: z.ZodOptional<z.ZodString>;
            name: z.ZodString;
            durationMs: z.ZodOptional<z.ZodNumber>;
            metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
            children: z.ZodOptional<z.ZodAny>;
        }, z.core.$strip>, z.ZodObject<{
            stepType: z.ZodLiteral<"agent_run">;
            agentId: z.ZodOptional<z.ZodString>;
            name: z.ZodString;
            durationMs: z.ZodOptional<z.ZodNumber>;
            metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
            children: z.ZodOptional<z.ZodAny>;
        }, z.core.$strip>, z.ZodObject<{
            stepType: z.ZodLiteral<"workflow_step">;
            stepId: z.ZodOptional<z.ZodString>;
            status: z.ZodOptional<z.ZodString>;
            output: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
            name: z.ZodString;
            durationMs: z.ZodOptional<z.ZodNumber>;
            metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
            children: z.ZodOptional<z.ZodAny>;
        }, z.core.$strip>, z.ZodObject<{
            stepType: z.ZodLiteral<"workflow_run">;
            workflowId: z.ZodOptional<z.ZodString>;
            status: z.ZodOptional<z.ZodString>;
            name: z.ZodString;
            durationMs: z.ZodOptional<z.ZodNumber>;
            metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
            children: z.ZodOptional<z.ZodAny>;
        }, z.core.$strip>, z.ZodObject<{
            stepType: z.ZodLiteral<"workflow_conditional">;
            conditionCount: z.ZodOptional<z.ZodNumber>;
            selectedSteps: z.ZodOptional<z.ZodArray<z.ZodString>>;
            name: z.ZodString;
            durationMs: z.ZodOptional<z.ZodNumber>;
            metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
            children: z.ZodOptional<z.ZodAny>;
        }, z.core.$strip>, z.ZodObject<{
            stepType: z.ZodLiteral<"workflow_parallel">;
            branchCount: z.ZodOptional<z.ZodNumber>;
            parallelSteps: z.ZodOptional<z.ZodArray<z.ZodString>>;
            name: z.ZodString;
            durationMs: z.ZodOptional<z.ZodNumber>;
            metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
            children: z.ZodOptional<z.ZodAny>;
        }, z.core.$strip>, z.ZodObject<{
            stepType: z.ZodLiteral<"workflow_loop">;
            loopType: z.ZodOptional<z.ZodString>;
            totalIterations: z.ZodOptional<z.ZodNumber>;
            name: z.ZodString;
            durationMs: z.ZodOptional<z.ZodNumber>;
            metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
            children: z.ZodOptional<z.ZodAny>;
        }, z.core.$strip>, z.ZodObject<{
            stepType: z.ZodLiteral<"workflow_sleep">;
            sleepDurationMs: z.ZodOptional<z.ZodNumber>;
            sleepType: z.ZodOptional<z.ZodString>;
            name: z.ZodString;
            durationMs: z.ZodOptional<z.ZodNumber>;
            metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
            children: z.ZodOptional<z.ZodAny>;
        }, z.core.$strip>, z.ZodObject<{
            stepType: z.ZodLiteral<"workflow_wait_event">;
            eventName: z.ZodOptional<z.ZodString>;
            eventReceived: z.ZodOptional<z.ZodBoolean>;
            name: z.ZodString;
            durationMs: z.ZodOptional<z.ZodNumber>;
            metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
            children: z.ZodOptional<z.ZodAny>;
        }, z.core.$strip>, z.ZodObject<{
            stepType: z.ZodLiteral<"processor_run">;
            processorId: z.ZodOptional<z.ZodString>;
            name: z.ZodString;
            durationMs: z.ZodOptional<z.ZodNumber>;
            metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
            children: z.ZodOptional<z.ZodAny>;
        }, z.core.$strip>], "stepType">, z.ZodObject<{
            stepType: z.ZodOptional<z.ZodUndefined>;
            name: z.ZodString;
            durationMs: z.ZodOptional<z.ZodNumber>;
            metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
            children: z.ZodOptional<z.ZodAny>;
        }, z.core.$strip>]>>>;
        ordering: z.ZodOptional<z.ZodEnum<{
            strict: "strict";
            relaxed: "relaxed";
            unordered: "unordered";
        }>>;
        allowRepeatedSteps: z.ZodOptional<z.ZodBoolean>;
        maxSteps: z.ZodOptional<z.ZodNumber>;
        maxTotalTokens: z.ZodOptional<z.ZodNumber>;
        maxTotalDurationMs: z.ZodOptional<z.ZodNumber>;
        noRedundantCalls: z.ZodOptional<z.ZodBoolean>;
        blacklistedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
        blacklistedSequences: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString>>>;
        maxRetriesPerTool: z.ZodOptional<z.ZodNumber>;
    }, z.core.$strip>>>;
    requestContext: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
    metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
    source: z.ZodOptional<z.ZodObject<{
        type: z.ZodEnum<{
            json: "json";
            csv: "csv";
            trace: "trace";
            llm: "llm";
            "experiment-result": "experiment-result";
        }>;
        referenceId: z.ZodOptional<z.ZodString>;
    }, z.core.$strip>>;
}, z.core.$strip>>, {
    id: string;
    datasetId: string;
    datasetVersion: number;
    input: unknown;
    createdAt: Date;
    updatedAt: Date;
    groundTruth?: unknown;
    expectedTrajectory?: unknown;
    requestContext?: Record<string, unknown> | undefined;
    metadata?: Record<string, unknown> | undefined;
    source?: {
        type: "json" | "csv" | "trace" | "llm" | "experiment-result";
        referenceId?: string | undefined;
    } | undefined;
}, "json", import("../server-adapter").RouteSchemas<z.ZodObject<{
    datasetId: z.ZodString;
}, z.core.$strip>, undefined, z.ZodObject<{
    input: z.ZodUnknown;
    groundTruth: z.ZodOptional<z.ZodUnknown>;
    expectedTrajectory: z.ZodNullable<z.ZodOptional<z.ZodObject<{
        steps: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodDiscriminatedUnion<[z.ZodObject<{
            stepType: z.ZodLiteral<"tool_call">;
            toolArgs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
            toolResult: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
            success: z.ZodOptional<z.ZodBoolean>;
            name: z.ZodString;
            durationMs: z.ZodOptional<z.ZodNumber>;
            metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
            children: z.ZodOptional<z.ZodAny>;
        }, z.core.$strip>, z.ZodObject<{
            stepType: z.ZodLiteral<"mcp_tool_call">;
            toolArgs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
            toolResult: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
            mcpServer: z.ZodOptional<z.ZodString>;
            success: z.ZodOptional<z.ZodBoolean>;
            name: z.ZodString;
            durationMs: z.ZodOptional<z.ZodNumber>;
            metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
            children: z.ZodOptional<z.ZodAny>;
        }, z.core.$strip>, z.ZodObject<{
            stepType: z.ZodLiteral<"model_generation">;
            modelId: z.ZodOptional<z.ZodString>;
            promptTokens: z.ZodOptional<z.ZodNumber>;
            completionTokens: z.ZodOptional<z.ZodNumber>;
            finishReason: z.ZodOptional<z.ZodString>;
            name: z.ZodString;
            durationMs: z.ZodOptional<z.ZodNumber>;
            metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
            children: z.ZodOptional<z.ZodAny>;
        }, z.core.$strip>, z.ZodObject<{
            stepType: z.ZodLiteral<"agent_run">;
            agentId: z.ZodOptional<z.ZodString>;
            name: z.ZodString;
            durationMs: z.ZodOptional<z.ZodNumber>;
            metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
            children: z.ZodOptional<z.ZodAny>;
        }, z.core.$strip>, z.ZodObject<{
            stepType: z.ZodLiteral<"workflow_step">;
            stepId: z.ZodOptional<z.ZodString>;
            status: z.ZodOptional<z.ZodString>;
            output: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
            name: z.ZodString;
            durationMs: z.ZodOptional<z.ZodNumber>;
            metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
            children: z.ZodOptional<z.ZodAny>;
        }, z.core.$strip>, z.ZodObject<{
            stepType: z.ZodLiteral<"workflow_run">;
            workflowId: z.ZodOptional<z.ZodString>;
            status: z.ZodOptional<z.ZodString>;
            name: z.ZodString;
            durationMs: z.ZodOptional<z.ZodNumber>;
            metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
            children: z.ZodOptional<z.ZodAny>;
        }, z.core.$strip>, z.ZodObject<{
            stepType: z.ZodLiteral<"workflow_conditional">;
            conditionCount: z.ZodOptional<z.ZodNumber>;
            selectedSteps: z.ZodOptional<z.ZodArray<z.ZodString>>;
            name: z.ZodString;
            durationMs: z.ZodOptional<z.ZodNumber>;
            metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
            children: z.ZodOptional<z.ZodAny>;
        }, z.core.$strip>, z.ZodObject<{
            stepType: z.ZodLiteral<"workflow_parallel">;
            branchCount: z.ZodOptional<z.ZodNumber>;
            parallelSteps: z.ZodOptional<z.ZodArray<z.ZodString>>;
            name: z.ZodString;
            durationMs: z.ZodOptional<z.ZodNumber>;
            metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
            children: z.ZodOptional<z.ZodAny>;
        }, z.core.$strip>, z.ZodObject<{
            stepType: z.ZodLiteral<"workflow_loop">;
            loopType: z.ZodOptional<z.ZodString>;
            totalIterations: z.ZodOptional<z.ZodNumber>;
            name: z.ZodString;
            durationMs: z.ZodOptional<z.ZodNumber>;
            metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
            children: z.ZodOptional<z.ZodAny>;
        }, z.core.$strip>, z.ZodObject<{
            stepType: z.ZodLiteral<"workflow_sleep">;
            sleepDurationMs: z.ZodOptional<z.ZodNumber>;
            sleepType: z.ZodOptional<z.ZodString>;
            name: z.ZodString;
            durationMs: z.ZodOptional<z.ZodNumber>;
            metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
            children: z.ZodOptional<z.ZodAny>;
        }, z.core.$strip>, z.ZodObject<{
            stepType: z.ZodLiteral<"workflow_wait_event">;
            eventName: z.ZodOptional<z.ZodString>;
            eventReceived: z.ZodOptional<z.ZodBoolean>;
            name: z.ZodString;
            durationMs: z.ZodOptional<z.ZodNumber>;
            metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
            children: z.ZodOptional<z.ZodAny>;
        }, z.core.$strip>, z.ZodObject<{
            stepType: z.ZodLiteral<"processor_run">;
            processorId: z.ZodOptional<z.ZodString>;
            name: z.ZodString;
            durationMs: z.ZodOptional<z.ZodNumber>;
            metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
            children: z.ZodOptional<z.ZodAny>;
        }, z.core.$strip>], "stepType">, z.ZodObject<{
            stepType: z.ZodOptional<z.ZodUndefined>;
            name: z.ZodString;
            durationMs: z.ZodOptional<z.ZodNumber>;
            metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
            children: z.ZodOptional<z.ZodAny>;
        }, z.core.$strip>]>>>;
        ordering: z.ZodOptional<z.ZodEnum<{
            strict: "strict";
            relaxed: "relaxed";
            unordered: "unordered";
        }>>;
        allowRepeatedSteps: z.ZodOptional<z.ZodBoolean>;
        maxSteps: z.ZodOptional<z.ZodNumber>;
        maxTotalTokens: z.ZodOptional<z.ZodNumber>;
        maxTotalDurationMs: z.ZodOptional<z.ZodNumber>;
        noRedundantCalls: z.ZodOptional<z.ZodBoolean>;
        blacklistedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
        blacklistedSequences: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString>>>;
        maxRetriesPerTool: z.ZodOptional<z.ZodNumber>;
    }, z.core.$strip>>>;
    requestContext: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
    metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
    source: z.ZodOptional<z.ZodObject<{
        type: z.ZodEnum<{
            json: "json";
            csv: "csv";
            trace: "trace";
            llm: "llm";
            "experiment-result": "experiment-result";
        }>;
        referenceId: z.ZodOptional<z.ZodString>;
    }, z.core.$strip>>;
}, z.core.$strip>, z.ZodObject<{
    id: z.ZodString;
    datasetId: z.ZodString;
    datasetVersion: z.ZodNumber;
    input: z.ZodUnknown;
    groundTruth: z.ZodOptional<z.ZodUnknown>;
    expectedTrajectory: z.ZodOptional<z.ZodUnknown>;
    requestContext: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
    metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
    source: z.ZodOptional<z.ZodObject<{
        type: z.ZodEnum<{
            json: "json";
            csv: "csv";
            trace: "trace";
            llm: "llm";
            "experiment-result": "experiment-result";
        }>;
        referenceId: z.ZodOptional<z.ZodString>;
    }, z.core.$strip>>;
    createdAt: z.ZodCoercedDate<unknown>;
    updatedAt: z.ZodCoercedDate<unknown>;
}, z.core.$strip>>, "POST", "/datasets/:datasetId/items">;
export declare const GET_ITEM_ROUTE: import("../server-adapter").ServerRoute<{
    datasetId: string;
    itemId: string;
}, {
    id: string;
    datasetId: string;
    datasetVersion: number;
    input: unknown;
    createdAt: Date;
    updatedAt: Date;
    groundTruth?: unknown;
    expectedTrajectory?: unknown;
    requestContext?: Record<string, unknown> | undefined;
    metadata?: Record<string, unknown> | undefined;
    source?: {
        type: "json" | "csv" | "trace" | "llm" | "experiment-result";
        referenceId?: string | undefined;
    } | undefined;
} | null, "json", import("../server-adapter").RouteSchemas<z.ZodObject<{
    datasetId: z.ZodString;
    itemId: z.ZodString;
}, z.core.$strip>, undefined, undefined, z.ZodNullable<z.ZodObject<{
    id: z.ZodString;
    datasetId: z.ZodString;
    datasetVersion: z.ZodNumber;
    input: z.ZodUnknown;
    groundTruth: z.ZodOptional<z.ZodUnknown>;
    expectedTrajectory: z.ZodOptional<z.ZodUnknown>;
    requestContext: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
    metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
    source: z.ZodOptional<z.ZodObject<{
        type: z.ZodEnum<{
            json: "json";
            csv: "csv";
            trace: "trace";
            llm: "llm";
            "experiment-result": "experiment-result";
        }>;
        referenceId: z.ZodOptional<z.ZodString>;
    }, z.core.$strip>>;
    createdAt: z.ZodCoercedDate<unknown>;
    updatedAt: z.ZodCoercedDate<unknown>;
}, z.core.$strip>>>, "GET", "/datasets/:datasetId/items/:itemId">;
export declare const UPDATE_ITEM_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<z.ZodObject<{
    datasetId: z.ZodString;
    itemId: z.ZodString;
}, z.core.$strip>, undefined, z.ZodObject<{
    input: z.ZodOptional<z.ZodUnknown>;
    groundTruth: z.ZodOptional<z.ZodUnknown>;
    expectedTrajectory: z.ZodNullable<z.ZodOptional<z.ZodObject<{
        steps: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodDiscriminatedUnion<[z.ZodObject<{
            stepType: z.ZodLiteral<"tool_call">;
            toolArgs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
            toolResult: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
            success: z.ZodOptional<z.ZodBoolean>;
            name: z.ZodString;
            durationMs: z.ZodOptional<z.ZodNumber>;
            metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
            children: z.ZodOptional<z.ZodAny>;
        }, z.core.$strip>, z.ZodObject<{
            stepType: z.ZodLiteral<"mcp_tool_call">;
            toolArgs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
            toolResult: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
            mcpServer: z.ZodOptional<z.ZodString>;
            success: z.ZodOptional<z.ZodBoolean>;
            name: z.ZodString;
            durationMs: z.ZodOptional<z.ZodNumber>;
            metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
            children: z.ZodOptional<z.ZodAny>;
        }, z.core.$strip>, z.ZodObject<{
            stepType: z.ZodLiteral<"model_generation">;
            modelId: z.ZodOptional<z.ZodString>;
            promptTokens: z.ZodOptional<z.ZodNumber>;
            completionTokens: z.ZodOptional<z.ZodNumber>;
            finishReason: z.ZodOptional<z.ZodString>;
            name: z.ZodString;
            durationMs: z.ZodOptional<z.ZodNumber>;
            metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
            children: z.ZodOptional<z.ZodAny>;
        }, z.core.$strip>, z.ZodObject<{
            stepType: z.ZodLiteral<"agent_run">;
            agentId: z.ZodOptional<z.ZodString>;
            name: z.ZodString;
            durationMs: z.ZodOptional<z.ZodNumber>;
            metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
            children: z.ZodOptional<z.ZodAny>;
        }, z.core.$strip>, z.ZodObject<{
            stepType: z.ZodLiteral<"workflow_step">;
            stepId: z.ZodOptional<z.ZodString>;
            status: z.ZodOptional<z.ZodString>;
            output: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
            name: z.ZodString;
            durationMs: z.ZodOptional<z.ZodNumber>;
            metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
            children: z.ZodOptional<z.ZodAny>;
        }, z.core.$strip>, z.ZodObject<{
            stepType: z.ZodLiteral<"workflow_run">;
            workflowId: z.ZodOptional<z.ZodString>;
            status: z.ZodOptional<z.ZodString>;
            name: z.ZodString;
            durationMs: z.ZodOptional<z.ZodNumber>;
            metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
            children: z.ZodOptional<z.ZodAny>;
        }, z.core.$strip>, z.ZodObject<{
            stepType: z.ZodLiteral<"workflow_conditional">;
            conditionCount: z.ZodOptional<z.ZodNumber>;
            selectedSteps: z.ZodOptional<z.ZodArray<z.ZodString>>;
            name: z.ZodString;
            durationMs: z.ZodOptional<z.ZodNumber>;
            metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
            children: z.ZodOptional<z.ZodAny>;
        }, z.core.$strip>, z.ZodObject<{
            stepType: z.ZodLiteral<"workflow_parallel">;
            branchCount: z.ZodOptional<z.ZodNumber>;
            parallelSteps: z.ZodOptional<z.ZodArray<z.ZodString>>;
            name: z.ZodString;
            durationMs: z.ZodOptional<z.ZodNumber>;
            metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
            children: z.ZodOptional<z.ZodAny>;
        }, z.core.$strip>, z.ZodObject<{
            stepType: z.ZodLiteral<"workflow_loop">;
            loopType: z.ZodOptional<z.ZodString>;
            totalIterations: z.ZodOptional<z.ZodNumber>;
            name: z.ZodString;
            durationMs: z.ZodOptional<z.ZodNumber>;
            metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
            children: z.ZodOptional<z.ZodAny>;
        }, z.core.$strip>, z.ZodObject<{
            stepType: z.ZodLiteral<"workflow_sleep">;
            sleepDurationMs: z.ZodOptional<z.ZodNumber>;
            sleepType: z.ZodOptional<z.ZodString>;
            name: z.ZodString;
            durationMs: z.ZodOptional<z.ZodNumber>;
            metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
            children: z.ZodOptional<z.ZodAny>;
        }, z.core.$strip>, z.ZodObject<{
            stepType: z.ZodLiteral<"workflow_wait_event">;
            eventName: z.ZodOptional<z.ZodString>;
            eventReceived: z.ZodOptional<z.ZodBoolean>;
            name: z.ZodString;
            durationMs: z.ZodOptional<z.ZodNumber>;
            metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
            children: z.ZodOptional<z.ZodAny>;
        }, z.core.$strip>, z.ZodObject<{
            stepType: z.ZodLiteral<"processor_run">;
            processorId: z.ZodOptional<z.ZodString>;
            name: z.ZodString;
            durationMs: z.ZodOptional<z.ZodNumber>;
            metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
            children: z.ZodOptional<z.ZodAny>;
        }, z.core.$strip>], "stepType">, z.ZodObject<{
            stepType: z.ZodOptional<z.ZodUndefined>;
            name: z.ZodString;
            durationMs: z.ZodOptional<z.ZodNumber>;
            metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
            children: z.ZodOptional<z.ZodAny>;
        }, z.core.$strip>]>>>;
        ordering: z.ZodOptional<z.ZodEnum<{
            strict: "strict";
            relaxed: "relaxed";
            unordered: "unordered";
        }>>;
        allowRepeatedSteps: z.ZodOptional<z.ZodBoolean>;
        maxSteps: z.ZodOptional<z.ZodNumber>;
        maxTotalTokens: z.ZodOptional<z.ZodNumber>;
        maxTotalDurationMs: z.ZodOptional<z.ZodNumber>;
        noRedundantCalls: z.ZodOptional<z.ZodBoolean>;
        blacklistedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
        blacklistedSequences: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString>>>;
        maxRetriesPerTool: z.ZodOptional<z.ZodNumber>;
    }, z.core.$strip>>>;
    requestContext: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
    metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
    source: z.ZodOptional<z.ZodObject<{
        type: z.ZodEnum<{
            json: "json";
            csv: "csv";
            trace: "trace";
            llm: "llm";
            "experiment-result": "experiment-result";
        }>;
        referenceId: z.ZodOptional<z.ZodString>;
    }, z.core.$strip>>;
}, z.core.$strip>>, {
    id: string;
    datasetId: string;
    datasetVersion: number;
    input: unknown;
    createdAt: Date;
    updatedAt: Date;
    groundTruth?: unknown;
    expectedTrajectory?: unknown;
    requestContext?: Record<string, unknown> | undefined;
    metadata?: Record<string, unknown> | undefined;
    source?: {
        type: "json" | "csv" | "trace" | "llm" | "experiment-result";
        referenceId?: string | undefined;
    } | undefined;
}, "json", import("../server-adapter").RouteSchemas<z.ZodObject<{
    datasetId: z.ZodString;
    itemId: z.ZodString;
}, z.core.$strip>, undefined, z.ZodObject<{
    input: z.ZodOptional<z.ZodUnknown>;
    groundTruth: z.ZodOptional<z.ZodUnknown>;
    expectedTrajectory: z.ZodNullable<z.ZodOptional<z.ZodObject<{
        steps: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodDiscriminatedUnion<[z.ZodObject<{
            stepType: z.ZodLiteral<"tool_call">;
            toolArgs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
            toolResult: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
            success: z.ZodOptional<z.ZodBoolean>;
            name: z.ZodString;
            durationMs: z.ZodOptional<z.ZodNumber>;
            metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
            children: z.ZodOptional<z.ZodAny>;
        }, z.core.$strip>, z.ZodObject<{
            stepType: z.ZodLiteral<"mcp_tool_call">;
            toolArgs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
            toolResult: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
            mcpServer: z.ZodOptional<z.ZodString>;
            success: z.ZodOptional<z.ZodBoolean>;
            name: z.ZodString;
            durationMs: z.ZodOptional<z.ZodNumber>;
            metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
            children: z.ZodOptional<z.ZodAny>;
        }, z.core.$strip>, z.ZodObject<{
            stepType: z.ZodLiteral<"model_generation">;
            modelId: z.ZodOptional<z.ZodString>;
            promptTokens: z.ZodOptional<z.ZodNumber>;
            completionTokens: z.ZodOptional<z.ZodNumber>;
            finishReason: z.ZodOptional<z.ZodString>;
            name: z.ZodString;
            durationMs: z.ZodOptional<z.ZodNumber>;
            metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
            children: z.ZodOptional<z.ZodAny>;
        }, z.core.$strip>, z.ZodObject<{
            stepType: z.ZodLiteral<"agent_run">;
            agentId: z.ZodOptional<z.ZodString>;
            name: z.ZodString;
            durationMs: z.ZodOptional<z.ZodNumber>;
            metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
            children: z.ZodOptional<z.ZodAny>;
        }, z.core.$strip>, z.ZodObject<{
            stepType: z.ZodLiteral<"workflow_step">;
            stepId: z.ZodOptional<z.ZodString>;
            status: z.ZodOptional<z.ZodString>;
            output: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
            name: z.ZodString;
            durationMs: z.ZodOptional<z.ZodNumber>;
            metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
            children: z.ZodOptional<z.ZodAny>;
        }, z.core.$strip>, z.ZodObject<{
            stepType: z.ZodLiteral<"workflow_run">;
            workflowId: z.ZodOptional<z.ZodString>;
            status: z.ZodOptional<z.ZodString>;
            name: z.ZodString;
            durationMs: z.ZodOptional<z.ZodNumber>;
            metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
            children: z.ZodOptional<z.ZodAny>;
        }, z.core.$strip>, z.ZodObject<{
            stepType: z.ZodLiteral<"workflow_conditional">;
            conditionCount: z.ZodOptional<z.ZodNumber>;
            selectedSteps: z.ZodOptional<z.ZodArray<z.ZodString>>;
            name: z.ZodString;
            durationMs: z.ZodOptional<z.ZodNumber>;
            metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
            children: z.ZodOptional<z.ZodAny>;
        }, z.core.$strip>, z.ZodObject<{
            stepType: z.ZodLiteral<"workflow_parallel">;
            branchCount: z.ZodOptional<z.ZodNumber>;
            parallelSteps: z.ZodOptional<z.ZodArray<z.ZodString>>;
            name: z.ZodString;
            durationMs: z.ZodOptional<z.ZodNumber>;
            metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
            children: z.ZodOptional<z.ZodAny>;
        }, z.core.$strip>, z.ZodObject<{
            stepType: z.ZodLiteral<"workflow_loop">;
            loopType: z.ZodOptional<z.ZodString>;
            totalIterations: z.ZodOptional<z.ZodNumber>;
            name: z.ZodString;
            durationMs: z.ZodOptional<z.ZodNumber>;
            metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
            children: z.ZodOptional<z.ZodAny>;
        }, z.core.$strip>, z.ZodObject<{
            stepType: z.ZodLiteral<"workflow_sleep">;
            sleepDurationMs: z.ZodOptional<z.ZodNumber>;
            sleepType: z.ZodOptional<z.ZodString>;
            name: z.ZodString;
            durationMs: z.ZodOptional<z.ZodNumber>;
            metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
            children: z.ZodOptional<z.ZodAny>;
        }, z.core.$strip>, z.ZodObject<{
            stepType: z.ZodLiteral<"workflow_wait_event">;
            eventName: z.ZodOptional<z.ZodString>;
            eventReceived: z.ZodOptional<z.ZodBoolean>;
            name: z.ZodString;
            durationMs: z.ZodOptional<z.ZodNumber>;
            metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
            children: z.ZodOptional<z.ZodAny>;
        }, z.core.$strip>, z.ZodObject<{
            stepType: z.ZodLiteral<"processor_run">;
            processorId: z.ZodOptional<z.ZodString>;
            name: z.ZodString;
            durationMs: z.ZodOptional<z.ZodNumber>;
            metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
            children: z.ZodOptional<z.ZodAny>;
        }, z.core.$strip>], "stepType">, z.ZodObject<{
            stepType: z.ZodOptional<z.ZodUndefined>;
            name: z.ZodString;
            durationMs: z.ZodOptional<z.ZodNumber>;
            metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
            children: z.ZodOptional<z.ZodAny>;
        }, z.core.$strip>]>>>;
        ordering: z.ZodOptional<z.ZodEnum<{
            strict: "strict";
            relaxed: "relaxed";
            unordered: "unordered";
        }>>;
        allowRepeatedSteps: z.ZodOptional<z.ZodBoolean>;
        maxSteps: z.ZodOptional<z.ZodNumber>;
        maxTotalTokens: z.ZodOptional<z.ZodNumber>;
        maxTotalDurationMs: z.ZodOptional<z.ZodNumber>;
        noRedundantCalls: z.ZodOptional<z.ZodBoolean>;
        blacklistedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
        blacklistedSequences: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString>>>;
        maxRetriesPerTool: z.ZodOptional<z.ZodNumber>;
    }, z.core.$strip>>>;
    requestContext: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
    metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
    source: z.ZodOptional<z.ZodObject<{
        type: z.ZodEnum<{
            json: "json";
            csv: "csv";
            trace: "trace";
            llm: "llm";
            "experiment-result": "experiment-result";
        }>;
        referenceId: z.ZodOptional<z.ZodString>;
    }, z.core.$strip>>;
}, z.core.$strip>, z.ZodObject<{
    id: z.ZodString;
    datasetId: z.ZodString;
    datasetVersion: z.ZodNumber;
    input: z.ZodUnknown;
    groundTruth: z.ZodOptional<z.ZodUnknown>;
    expectedTrajectory: z.ZodOptional<z.ZodUnknown>;
    requestContext: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
    metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
    source: z.ZodOptional<z.ZodObject<{
        type: z.ZodEnum<{
            json: "json";
            csv: "csv";
            trace: "trace";
            llm: "llm";
            "experiment-result": "experiment-result";
        }>;
        referenceId: z.ZodOptional<z.ZodString>;
    }, z.core.$strip>>;
    createdAt: z.ZodCoercedDate<unknown>;
    updatedAt: z.ZodCoercedDate<unknown>;
}, z.core.$strip>>, "PATCH", "/datasets/:datasetId/items/:itemId">;
export declare const DELETE_ITEM_ROUTE: import("../server-adapter").ServerRoute<{
    datasetId: string;
    itemId: string;
}, {
    success: boolean;
}, "json", import("../server-adapter").RouteSchemas<z.ZodObject<{
    datasetId: z.ZodString;
    itemId: z.ZodString;
}, z.core.$strip>, undefined, undefined, z.ZodObject<{
    success: z.ZodBoolean;
}, z.core.$strip>>, "DELETE", "/datasets/:datasetId/items/:itemId">;
export declare const LIST_ALL_EXPERIMENTS_ROUTE: import("../server-adapter").ServerRoute<{
    page: number;
    perPage: number;
}, {
    experiments: {
        id: string;
        datasetId: string | null;
        datasetVersion: number | null;
        targetType: "scorer" | "agent" | "processor" | "workflow";
        targetId: string;
        status: "running" | "failed" | "pending" | "completed";
        totalItems: number;
        succeededCount: number;
        failedCount: number;
        skippedCount: number;
        startedAt: Date | null;
        completedAt: Date | null;
        createdAt: Date;
        updatedAt: Date;
        agentVersion?: string | null | undefined;
        name?: string | undefined;
        description?: string | undefined;
        metadata?: Record<string, unknown> | undefined;
    }[];
    pagination: {
        total: number;
        page: number;
        perPage: number | false;
        hasMore: boolean;
    };
}, "json", import("../server-adapter").RouteSchemas<undefined, z.ZodObject<{
    page: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
    perPage: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
}, z.core.$strip>, undefined, z.ZodObject<{
    experiments: z.ZodArray<z.ZodObject<{
        id: z.ZodString;
        datasetId: z.ZodNullable<z.ZodString>;
        datasetVersion: z.ZodNullable<z.ZodNumber>;
        agentVersion: z.ZodOptional<z.ZodNullable<z.ZodString>>;
        targetType: z.ZodEnum<{
            scorer: "scorer";
            agent: "agent";
            processor: "processor";
            workflow: "workflow";
        }>;
        targetId: z.ZodString;
        name: z.ZodOptional<z.ZodString>;
        description: z.ZodOptional<z.ZodString>;
        metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
        status: z.ZodEnum<{
            running: "running";
            failed: "failed";
            pending: "pending";
            completed: "completed";
        }>;
        totalItems: z.ZodNumber;
        succeededCount: z.ZodNumber;
        failedCount: z.ZodNumber;
        skippedCount: z.ZodNumber;
        startedAt: z.ZodNullable<z.ZodCoercedDate<unknown>>;
        completedAt: z.ZodNullable<z.ZodCoercedDate<unknown>>;
        createdAt: z.ZodCoercedDate<unknown>;
        updatedAt: z.ZodCoercedDate<unknown>;
    }, z.core.$strip>>;
    pagination: z.ZodObject<{
        total: z.ZodNumber;
        page: z.ZodNumber;
        perPage: z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<false>]>;
        hasMore: z.ZodBoolean;
    }, z.core.$strip>;
}, z.core.$strip>>, "GET", "/experiments">;
export declare const EXPERIMENT_REVIEW_SUMMARY_ROUTE: import("../server-adapter").ServerRoute<{}, {
    counts: {
        experimentId: string;
        total: number;
        needsReview: number;
        reviewed: number;
        complete: number;
    }[];
}, "json", import("../server-adapter").RouteSchemas<undefined, undefined, undefined, z.ZodObject<{
    counts: z.ZodArray<z.ZodObject<{
        experimentId: z.ZodString;
        total: z.ZodNumber;
        needsReview: z.ZodNumber;
        reviewed: z.ZodNumber;
        complete: z.ZodNumber;
    }, z.core.$strip>>;
}, z.core.$strip>>, "GET", "/experiments/review-summary">;
export declare const LIST_EXPERIMENTS_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<z.ZodObject<{
    datasetId: z.ZodString;
}, z.core.$strip>, z.ZodObject<{
    page: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
    perPage: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
}, z.core.$strip>, undefined>, {
    experiments: {
        id: string;
        datasetId: string | null;
        datasetVersion: number | null;
        targetType: "scorer" | "agent" | "processor" | "workflow";
        targetId: string;
        status: "running" | "failed" | "pending" | "completed";
        totalItems: number;
        succeededCount: number;
        failedCount: number;
        skippedCount: number;
        startedAt: Date | null;
        completedAt: Date | null;
        createdAt: Date;
        updatedAt: Date;
        agentVersion?: string | null | undefined;
        name?: string | undefined;
        description?: string | undefined;
        metadata?: Record<string, unknown> | undefined;
    }[];
    pagination: {
        total: number;
        page: number;
        perPage: number | false;
        hasMore: boolean;
    };
}, "json", import("../server-adapter").RouteSchemas<z.ZodObject<{
    datasetId: z.ZodString;
}, z.core.$strip>, z.ZodObject<{
    page: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
    perPage: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
}, z.core.$strip>, undefined, z.ZodObject<{
    experiments: z.ZodArray<z.ZodObject<{
        id: z.ZodString;
        datasetId: z.ZodNullable<z.ZodString>;
        datasetVersion: z.ZodNullable<z.ZodNumber>;
        agentVersion: z.ZodOptional<z.ZodNullable<z.ZodString>>;
        targetType: z.ZodEnum<{
            scorer: "scorer";
            agent: "agent";
            processor: "processor";
            workflow: "workflow";
        }>;
        targetId: z.ZodString;
        name: z.ZodOptional<z.ZodString>;
        description: z.ZodOptional<z.ZodString>;
        metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
        status: z.ZodEnum<{
            running: "running";
            failed: "failed";
            pending: "pending";
            completed: "completed";
        }>;
        totalItems: z.ZodNumber;
        succeededCount: z.ZodNumber;
        failedCount: z.ZodNumber;
        skippedCount: z.ZodNumber;
        startedAt: z.ZodNullable<z.ZodCoercedDate<unknown>>;
        completedAt: z.ZodNullable<z.ZodCoercedDate<unknown>>;
        createdAt: z.ZodCoercedDate<unknown>;
        updatedAt: z.ZodCoercedDate<unknown>;
    }, z.core.$strip>>;
    pagination: z.ZodObject<{
        total: z.ZodNumber;
        page: z.ZodNumber;
        perPage: z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<false>]>;
        hasMore: z.ZodBoolean;
    }, z.core.$strip>;
}, z.core.$strip>>, "GET", "/datasets/:datasetId/experiments">;
export declare const TRIGGER_EXPERIMENT_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<z.ZodObject<{
    datasetId: z.ZodString;
}, z.core.$strip>, undefined, z.ZodObject<{
    targetType: z.ZodEnum<{
        scorer: "scorer";
        agent: "agent";
        workflow: "workflow";
    }>;
    targetId: z.ZodString;
    scorerIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
    version: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
    agentVersion: z.ZodOptional<z.ZodString>;
    maxConcurrency: z.ZodOptional<z.ZodNumber>;
    requestContext: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
    versions: z.ZodOptional<z.ZodObject<{
        agents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
            versionId: z.ZodString;
        }, z.core.$strip>, z.ZodObject<{
            status: z.ZodEnum<{
                draft: "draft";
                published: "published";
            }>;
        }, z.core.$strip>]>>>;
    }, z.core.$strip>>;
}, z.core.$strip>>, {
    experimentId: string;
    status: "running" | "failed" | "pending" | "completed";
    totalItems: number;
    succeededCount: number;
    failedCount: number;
    startedAt: Date;
    completedAt: Date | null;
    results: {
        itemId: string;
        itemDatasetVersion: number | null;
        input: unknown;
        output: unknown;
        groundTruth: unknown;
        error: string | null;
        startedAt: Date;
        completedAt: Date;
        retryCount: number;
        scores: {
            scorerId: string;
            scorerName: string;
            score: number | null;
            reason: string | null;
            error: string | null;
        }[];
    }[];
}, "json", import("../server-adapter").RouteSchemas<z.ZodObject<{
    datasetId: z.ZodString;
}, z.core.$strip>, undefined, z.ZodObject<{
    targetType: z.ZodEnum<{
        scorer: "scorer";
        agent: "agent";
        workflow: "workflow";
    }>;
    targetId: z.ZodString;
    scorerIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
    version: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
    agentVersion: z.ZodOptional<z.ZodString>;
    maxConcurrency: z.ZodOptional<z.ZodNumber>;
    requestContext: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
    versions: z.ZodOptional<z.ZodObject<{
        agents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
            versionId: z.ZodString;
        }, z.core.$strip>, z.ZodObject<{
            status: z.ZodEnum<{
                draft: "draft";
                published: "published";
            }>;
        }, z.core.$strip>]>>>;
    }, z.core.$strip>>;
}, z.core.$strip>, z.ZodObject<{
    experimentId: z.ZodString;
    status: z.ZodEnum<{
        running: "running";
        failed: "failed";
        pending: "pending";
        completed: "completed";
    }>;
    totalItems: z.ZodNumber;
    succeededCount: z.ZodNumber;
    failedCount: z.ZodNumber;
    startedAt: z.ZodCoercedDate<unknown>;
    completedAt: z.ZodNullable<z.ZodCoercedDate<unknown>>;
    results: z.ZodArray<z.ZodObject<{
        itemId: z.ZodString;
        itemDatasetVersion: z.ZodNullable<z.ZodNumber>;
        input: z.ZodUnknown;
        output: z.ZodNullable<z.ZodUnknown>;
        groundTruth: z.ZodNullable<z.ZodUnknown>;
        error: z.ZodNullable<z.ZodString>;
        startedAt: z.ZodCoercedDate<unknown>;
        completedAt: z.ZodCoercedDate<unknown>;
        retryCount: z.ZodNumber;
        scores: z.ZodArray<z.ZodObject<{
            scorerId: z.ZodString;
            scorerName: z.ZodString;
            score: z.ZodNullable<z.ZodNumber>;
            reason: z.ZodNullable<z.ZodString>;
            error: z.ZodNullable<z.ZodString>;
        }, z.core.$strip>>;
    }, z.core.$strip>>;
}, z.core.$strip>>, "POST", "/datasets/:datasetId/experiments">;
export declare const GET_EXPERIMENT_ROUTE: import("../server-adapter").ServerRoute<{
    datasetId: string;
    experimentId: string;
}, {
    id: string;
    datasetId: string | null;
    datasetVersion: number | null;
    targetType: "scorer" | "agent" | "processor" | "workflow";
    targetId: string;
    status: "running" | "failed" | "pending" | "completed";
    totalItems: number;
    succeededCount: number;
    failedCount: number;
    skippedCount: number;
    startedAt: Date | null;
    completedAt: Date | null;
    createdAt: Date;
    updatedAt: Date;
    agentVersion?: string | null | undefined;
    name?: string | undefined;
    description?: string | undefined;
    metadata?: Record<string, unknown> | undefined;
} | null, "json", import("../server-adapter").RouteSchemas<z.ZodObject<{
    datasetId: z.ZodString;
    experimentId: z.ZodString;
}, z.core.$strip>, undefined, undefined, z.ZodNullable<z.ZodObject<{
    id: z.ZodString;
    datasetId: z.ZodNullable<z.ZodString>;
    datasetVersion: z.ZodNullable<z.ZodNumber>;
    agentVersion: z.ZodOptional<z.ZodNullable<z.ZodString>>;
    targetType: z.ZodEnum<{
        scorer: "scorer";
        agent: "agent";
        processor: "processor";
        workflow: "workflow";
    }>;
    targetId: z.ZodString;
    name: z.ZodOptional<z.ZodString>;
    description: z.ZodOptional<z.ZodString>;
    metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
    status: z.ZodEnum<{
        running: "running";
        failed: "failed";
        pending: "pending";
        completed: "completed";
    }>;
    totalItems: z.ZodNumber;
    succeededCount: z.ZodNumber;
    failedCount: z.ZodNumber;
    skippedCount: z.ZodNumber;
    startedAt: z.ZodNullable<z.ZodCoercedDate<unknown>>;
    completedAt: z.ZodNullable<z.ZodCoercedDate<unknown>>;
    createdAt: z.ZodCoercedDate<unknown>;
    updatedAt: z.ZodCoercedDate<unknown>;
}, z.core.$strip>>>, "GET", "/datasets/:datasetId/experiments/:experimentId">;
export declare const LIST_EXPERIMENT_RESULTS_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<z.ZodObject<{
    datasetId: z.ZodString;
    experimentId: z.ZodString;
}, z.core.$strip>, z.ZodObject<{
    page: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
    perPage: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
}, z.core.$strip>, undefined>, {
    results: {
        id: string;
        experimentId: string;
        itemId: string;
        itemDatasetVersion: number | null;
        input: unknown;
        output: unknown;
        groundTruth: unknown;
        error: {
            message: string;
            stack?: string | undefined;
            code?: string | undefined;
        } | null;
        startedAt: Date;
        completedAt: Date;
        retryCount: number;
        traceId: string | null;
        createdAt: Date;
        expectedTrajectory?: unknown;
        status?: "needs-review" | "reviewed" | "complete" | null | undefined;
        tags?: string[] | null | undefined;
    }[];
    pagination: {
        total: number;
        page: number;
        perPage: number | false;
        hasMore: boolean;
    };
}, "json", import("../server-adapter").RouteSchemas<z.ZodObject<{
    datasetId: z.ZodString;
    experimentId: z.ZodString;
}, z.core.$strip>, z.ZodObject<{
    page: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
    perPage: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
}, z.core.$strip>, undefined, z.ZodObject<{
    results: z.ZodArray<z.ZodObject<{
        id: z.ZodString;
        experimentId: z.ZodString;
        itemId: z.ZodString;
        itemDatasetVersion: z.ZodNullable<z.ZodNumber>;
        input: z.ZodUnknown;
        output: z.ZodNullable<z.ZodUnknown>;
        groundTruth: z.ZodNullable<z.ZodUnknown>;
        expectedTrajectory: z.ZodOptional<z.ZodUnknown>;
        error: z.ZodNullable<z.ZodObject<{
            message: z.ZodString;
            stack: z.ZodOptional<z.ZodString>;
            code: z.ZodOptional<z.ZodString>;
        }, z.core.$strip>>;
        startedAt: z.ZodCoercedDate<unknown>;
        completedAt: z.ZodCoercedDate<unknown>;
        retryCount: z.ZodNumber;
        traceId: z.ZodNullable<z.ZodString>;
        status: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
            "needs-review": "needs-review";
            reviewed: "reviewed";
            complete: "complete";
        }>>>;
        tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
        createdAt: z.ZodCoercedDate<unknown>;
    }, z.core.$strip>>;
    pagination: z.ZodObject<{
        total: z.ZodNumber;
        page: z.ZodNumber;
        perPage: z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<false>]>;
        hasMore: z.ZodBoolean;
    }, z.core.$strip>;
}, z.core.$strip>>, "GET", "/datasets/:datasetId/experiments/:experimentId/results">;
export declare const UPDATE_EXPERIMENT_RESULT_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<z.ZodObject<{
    datasetId: z.ZodString;
    experimentId: z.ZodString;
    resultId: z.ZodString;
}, z.core.$strip>, undefined, z.ZodObject<{
    status: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
        "needs-review": "needs-review";
        reviewed: "reviewed";
        complete: "complete";
    }>>>;
    tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
}, z.core.$strip>>, {
    id: string;
    experimentId: string;
    itemId: string;
    itemDatasetVersion: number | null;
    input: unknown;
    output: unknown;
    groundTruth: unknown;
    error: {
        message: string;
        stack?: string | undefined;
        code?: string | undefined;
    } | null;
    startedAt: Date;
    completedAt: Date;
    retryCount: number;
    traceId: string | null;
    createdAt: Date;
    expectedTrajectory?: unknown;
    status?: "needs-review" | "reviewed" | "complete" | null | undefined;
    tags?: string[] | null | undefined;
}, "json", import("../server-adapter").RouteSchemas<z.ZodObject<{
    datasetId: z.ZodString;
    experimentId: z.ZodString;
    resultId: z.ZodString;
}, z.core.$strip>, undefined, z.ZodObject<{
    status: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
        "needs-review": "needs-review";
        reviewed: "reviewed";
        complete: "complete";
    }>>>;
    tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
}, z.core.$strip>, z.ZodObject<{
    id: z.ZodString;
    experimentId: z.ZodString;
    itemId: z.ZodString;
    itemDatasetVersion: z.ZodNullable<z.ZodNumber>;
    input: z.ZodUnknown;
    output: z.ZodNullable<z.ZodUnknown>;
    groundTruth: z.ZodNullable<z.ZodUnknown>;
    expectedTrajectory: z.ZodOptional<z.ZodUnknown>;
    error: z.ZodNullable<z.ZodObject<{
        message: z.ZodString;
        stack: z.ZodOptional<z.ZodString>;
        code: z.ZodOptional<z.ZodString>;
    }, z.core.$strip>>;
    startedAt: z.ZodCoercedDate<unknown>;
    completedAt: z.ZodCoercedDate<unknown>;
    retryCount: z.ZodNumber;
    traceId: z.ZodNullable<z.ZodString>;
    status: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
        "needs-review": "needs-review";
        reviewed: "reviewed";
        complete: "complete";
    }>>>;
    tags: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
    createdAt: z.ZodCoercedDate<unknown>;
}, z.core.$strip>>, "PATCH", "/datasets/:datasetId/experiments/:experimentId/results/:resultId">;
export declare const COMPARE_EXPERIMENTS_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<z.ZodObject<{
    datasetId: z.ZodString;
}, z.core.$strip>, undefined, z.ZodObject<{
    experimentIdA: z.ZodString;
    experimentIdB: z.ZodString;
}, z.core.$strip>>, {
    baselineId: string;
    items: {
        itemId: string;
        input: unknown;
        groundTruth: unknown;
        results: Record<string, {
            output: unknown;
            scores: Record<string, number | null>;
        } | null>;
    }[];
}, "json", import("../server-adapter").RouteSchemas<z.ZodObject<{
    datasetId: z.ZodString;
}, z.core.$strip>, undefined, z.ZodObject<{
    experimentIdA: z.ZodString;
    experimentIdB: z.ZodString;
}, z.core.$strip>, z.ZodObject<{
    baselineId: z.ZodString;
    items: z.ZodArray<z.ZodObject<{
        itemId: z.ZodString;
        input: z.ZodNullable<z.ZodUnknown>;
        groundTruth: z.ZodNullable<z.ZodUnknown>;
        results: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodObject<{
            output: z.ZodNullable<z.ZodUnknown>;
            scores: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodNumber>>;
        }, z.core.$strip>>>;
    }, z.core.$strip>>;
}, z.core.$strip>>, "POST", "/datasets/:datasetId/compare">;
export declare const LIST_DATASET_VERSIONS_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<z.ZodObject<{
    datasetId: z.ZodString;
}, z.core.$strip>, z.ZodObject<{
    page: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
    perPage: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
}, z.core.$strip>, undefined>, {
    versions: {
        id: string;
        datasetId: string;
        version: number;
        createdAt: Date;
    }[];
    pagination: {
        total: number;
        page: number;
        perPage: number | false;
        hasMore: boolean;
    };
}, "json", import("../server-adapter").RouteSchemas<z.ZodObject<{
    datasetId: z.ZodString;
}, z.core.$strip>, z.ZodObject<{
    page: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
    perPage: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
}, z.core.$strip>, undefined, z.ZodObject<{
    versions: z.ZodArray<z.ZodObject<{
        id: z.ZodString;
        datasetId: z.ZodString;
        version: z.ZodNumber;
        createdAt: z.ZodCoercedDate<unknown>;
    }, z.core.$strip>>;
    pagination: z.ZodObject<{
        total: z.ZodNumber;
        page: z.ZodNumber;
        perPage: z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<false>]>;
        hasMore: z.ZodBoolean;
    }, z.core.$strip>;
}, z.core.$strip>>, "GET", "/datasets/:datasetId/versions">;
export declare const LIST_ITEM_VERSIONS_ROUTE: import("../server-adapter").ServerRoute<{
    datasetId: string;
    itemId: string;
}, {
    history: {
        id: string;
        datasetId: string;
        datasetVersion: number;
        input: unknown;
        validTo: number | null;
        isDeleted: boolean;
        createdAt: Date;
        updatedAt: Date;
        groundTruth?: unknown;
        metadata?: Record<string, unknown> | undefined;
    }[];
}, "json", import("../server-adapter").RouteSchemas<z.ZodObject<{
    datasetId: z.ZodString;
    itemId: z.ZodString;
}, z.core.$strip>, undefined, undefined, z.ZodObject<{
    history: z.ZodArray<z.ZodObject<{
        id: z.ZodString;
        datasetId: z.ZodString;
        datasetVersion: z.ZodNumber;
        input: z.ZodUnknown;
        groundTruth: z.ZodOptional<z.ZodUnknown>;
        metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
        validTo: z.ZodNullable<z.ZodNumber>;
        isDeleted: z.ZodBoolean;
        createdAt: z.ZodCoercedDate<unknown>;
        updatedAt: z.ZodCoercedDate<unknown>;
    }, z.core.$strip>>;
}, z.core.$strip>>, "GET", "/datasets/:datasetId/items/:itemId/history">;
export declare const GET_ITEM_VERSION_ROUTE: import("../server-adapter").ServerRoute<{
    datasetId: string;
    itemId: string;
    datasetVersion: number;
}, {
    id: string;
    datasetId: string;
    datasetVersion: number;
    input: unknown;
    createdAt: Date;
    updatedAt: Date;
    groundTruth?: unknown;
    expectedTrajectory?: unknown;
    requestContext?: Record<string, unknown> | undefined;
    metadata?: Record<string, unknown> | undefined;
    source?: {
        type: "json" | "csv" | "trace" | "llm" | "experiment-result";
        referenceId?: string | undefined;
    } | undefined;
} | null, "json", import("../server-adapter").RouteSchemas<z.ZodObject<{
    datasetId: z.ZodString;
    itemId: z.ZodString;
    datasetVersion: z.ZodCoercedNumber<unknown>;
}, z.core.$strip>, undefined, undefined, z.ZodNullable<z.ZodObject<{
    id: z.ZodString;
    datasetId: z.ZodString;
    datasetVersion: z.ZodNumber;
    input: z.ZodUnknown;
    groundTruth: z.ZodOptional<z.ZodUnknown>;
    expectedTrajectory: z.ZodOptional<z.ZodUnknown>;
    requestContext: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
    metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
    source: z.ZodOptional<z.ZodObject<{
        type: z.ZodEnum<{
            json: "json";
            csv: "csv";
            trace: "trace";
            llm: "llm";
            "experiment-result": "experiment-result";
        }>;
        referenceId: z.ZodOptional<z.ZodString>;
    }, z.core.$strip>>;
    createdAt: z.ZodCoercedDate<unknown>;
    updatedAt: z.ZodCoercedDate<unknown>;
}, z.core.$strip>>>, "GET", "/datasets/:datasetId/items/:itemId/versions/:datasetVersion">;
export declare const BATCH_INSERT_ITEMS_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<z.ZodObject<{
    datasetId: z.ZodString;
}, z.core.$strip>, undefined, z.ZodObject<{
    items: z.ZodArray<z.ZodObject<{
        input: z.ZodUnknown;
        groundTruth: z.ZodOptional<z.ZodUnknown>;
        expectedTrajectory: z.ZodNullable<z.ZodOptional<z.ZodObject<{
            steps: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodDiscriminatedUnion<[z.ZodObject<{
                stepType: z.ZodLiteral<"tool_call">;
                toolArgs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
                toolResult: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
                success: z.ZodOptional<z.ZodBoolean>;
                name: z.ZodString;
                durationMs: z.ZodOptional<z.ZodNumber>;
                metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
                children: z.ZodOptional<z.ZodAny>;
            }, z.core.$strip>, z.ZodObject<{
                stepType: z.ZodLiteral<"mcp_tool_call">;
                toolArgs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
                toolResult: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
                mcpServer: z.ZodOptional<z.ZodString>;
                success: z.ZodOptional<z.ZodBoolean>;
                name: z.ZodString;
                durationMs: z.ZodOptional<z.ZodNumber>;
                metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
                children: z.ZodOptional<z.ZodAny>;
            }, z.core.$strip>, z.ZodObject<{
                stepType: z.ZodLiteral<"model_generation">;
                modelId: z.ZodOptional<z.ZodString>;
                promptTokens: z.ZodOptional<z.ZodNumber>;
                completionTokens: z.ZodOptional<z.ZodNumber>;
                finishReason: z.ZodOptional<z.ZodString>;
                name: z.ZodString;
                durationMs: z.ZodOptional<z.ZodNumber>;
                metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
                children: z.ZodOptional<z.ZodAny>;
            }, z.core.$strip>, z.ZodObject<{
                stepType: z.ZodLiteral<"agent_run">;
                agentId: z.ZodOptional<z.ZodString>;
                name: z.ZodString;
                durationMs: z.ZodOptional<z.ZodNumber>;
                metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
                children: z.ZodOptional<z.ZodAny>;
            }, z.core.$strip>, z.ZodObject<{
                stepType: z.ZodLiteral<"workflow_step">;
                stepId: z.ZodOptional<z.ZodString>;
                status: z.ZodOptional<z.ZodString>;
                output: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
                name: z.ZodString;
                durationMs: z.ZodOptional<z.ZodNumber>;
                metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
                children: z.ZodOptional<z.ZodAny>;
            }, z.core.$strip>, z.ZodObject<{
                stepType: z.ZodLiteral<"workflow_run">;
                workflowId: z.ZodOptional<z.ZodString>;
                status: z.ZodOptional<z.ZodString>;
                name: z.ZodString;
                durationMs: z.ZodOptional<z.ZodNumber>;
                metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
                children: z.ZodOptional<z.ZodAny>;
            }, z.core.$strip>, z.ZodObject<{
                stepType: z.ZodLiteral<"workflow_conditional">;
                conditionCount: z.ZodOptional<z.ZodNumber>;
                selectedSteps: z.ZodOptional<z.ZodArray<z.ZodString>>;
                name: z.ZodString;
                durationMs: z.ZodOptional<z.ZodNumber>;
                metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
                children: z.ZodOptional<z.ZodAny>;
            }, z.core.$strip>, z.ZodObject<{
                stepType: z.ZodLiteral<"workflow_parallel">;
                branchCount: z.ZodOptional<z.ZodNumber>;
                parallelSteps: z.ZodOptional<z.ZodArray<z.ZodString>>;
                name: z.ZodString;
                durationMs: z.ZodOptional<z.ZodNumber>;
                metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
                children: z.ZodOptional<z.ZodAny>;
            }, z.core.$strip>, z.ZodObject<{
                stepType: z.ZodLiteral<"workflow_loop">;
                loopType: z.ZodOptional<z.ZodString>;
                totalIterations: z.ZodOptional<z.ZodNumber>;
                name: z.ZodString;
                durationMs: z.ZodOptional<z.ZodNumber>;
                metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
                children: z.ZodOptional<z.ZodAny>;
            }, z.core.$strip>, z.ZodObject<{
                stepType: z.ZodLiteral<"workflow_sleep">;
                sleepDurationMs: z.ZodOptional<z.ZodNumber>;
                sleepType: z.ZodOptional<z.ZodString>;
                name: z.ZodString;
                durationMs: z.ZodOptional<z.ZodNumber>;
                metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
                children: z.ZodOptional<z.ZodAny>;
            }, z.core.$strip>, z.ZodObject<{
                stepType: z.ZodLiteral<"workflow_wait_event">;
                eventName: z.ZodOptional<z.ZodString>;
                eventReceived: z.ZodOptional<z.ZodBoolean>;
                name: z.ZodString;
                durationMs: z.ZodOptional<z.ZodNumber>;
                metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
                children: z.ZodOptional<z.ZodAny>;
            }, z.core.$strip>, z.ZodObject<{
                stepType: z.ZodLiteral<"processor_run">;
                processorId: z.ZodOptional<z.ZodString>;
                name: z.ZodString;
                durationMs: z.ZodOptional<z.ZodNumber>;
                metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
                children: z.ZodOptional<z.ZodAny>;
            }, z.core.$strip>], "stepType">, z.ZodObject<{
                stepType: z.ZodOptional<z.ZodUndefined>;
                name: z.ZodString;
                durationMs: z.ZodOptional<z.ZodNumber>;
                metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
                children: z.ZodOptional<z.ZodAny>;
            }, z.core.$strip>]>>>;
            ordering: z.ZodOptional<z.ZodEnum<{
                strict: "strict";
                relaxed: "relaxed";
                unordered: "unordered";
            }>>;
            allowRepeatedSteps: z.ZodOptional<z.ZodBoolean>;
            maxSteps: z.ZodOptional<z.ZodNumber>;
            maxTotalTokens: z.ZodOptional<z.ZodNumber>;
            maxTotalDurationMs: z.ZodOptional<z.ZodNumber>;
            noRedundantCalls: z.ZodOptional<z.ZodBoolean>;
            blacklistedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
            blacklistedSequences: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString>>>;
            maxRetriesPerTool: z.ZodOptional<z.ZodNumber>;
        }, z.core.$strip>>>;
        requestContext: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
        metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
        source: z.ZodOptional<z.ZodObject<{
            type: z.ZodEnum<{
                json: "json";
                csv: "csv";
                trace: "trace";
                llm: "llm";
                "experiment-result": "experiment-result";
            }>;
            referenceId: z.ZodOptional<z.ZodString>;
        }, z.core.$strip>>;
    }, z.core.$strip>>;
}, z.core.$strip>>, {
    items: {
        id: string;
        datasetId: string;
        datasetVersion: number;
        input: unknown;
        createdAt: Date;
        updatedAt: Date;
        groundTruth?: unknown;
        expectedTrajectory?: unknown;
        requestContext?: Record<string, unknown> | undefined;
        metadata?: Record<string, unknown> | undefined;
        source?: {
            type: "json" | "csv" | "trace" | "llm" | "experiment-result";
            referenceId?: string | undefined;
        } | undefined;
    }[];
    count: number;
}, "json", import("../server-adapter").RouteSchemas<z.ZodObject<{
    datasetId: z.ZodString;
}, z.core.$strip>, undefined, z.ZodObject<{
    items: z.ZodArray<z.ZodObject<{
        input: z.ZodUnknown;
        groundTruth: z.ZodOptional<z.ZodUnknown>;
        expectedTrajectory: z.ZodNullable<z.ZodOptional<z.ZodObject<{
            steps: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodDiscriminatedUnion<[z.ZodObject<{
                stepType: z.ZodLiteral<"tool_call">;
                toolArgs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
                toolResult: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
                success: z.ZodOptional<z.ZodBoolean>;
                name: z.ZodString;
                durationMs: z.ZodOptional<z.ZodNumber>;
                metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
                children: z.ZodOptional<z.ZodAny>;
            }, z.core.$strip>, z.ZodObject<{
                stepType: z.ZodLiteral<"mcp_tool_call">;
                toolArgs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
                toolResult: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
                mcpServer: z.ZodOptional<z.ZodString>;
                success: z.ZodOptional<z.ZodBoolean>;
                name: z.ZodString;
                durationMs: z.ZodOptional<z.ZodNumber>;
                metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
                children: z.ZodOptional<z.ZodAny>;
            }, z.core.$strip>, z.ZodObject<{
                stepType: z.ZodLiteral<"model_generation">;
                modelId: z.ZodOptional<z.ZodString>;
                promptTokens: z.ZodOptional<z.ZodNumber>;
                completionTokens: z.ZodOptional<z.ZodNumber>;
                finishReason: z.ZodOptional<z.ZodString>;
                name: z.ZodString;
                durationMs: z.ZodOptional<z.ZodNumber>;
                metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
                children: z.ZodOptional<z.ZodAny>;
            }, z.core.$strip>, z.ZodObject<{
                stepType: z.ZodLiteral<"agent_run">;
                agentId: z.ZodOptional<z.ZodString>;
                name: z.ZodString;
                durationMs: z.ZodOptional<z.ZodNumber>;
                metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
                children: z.ZodOptional<z.ZodAny>;
            }, z.core.$strip>, z.ZodObject<{
                stepType: z.ZodLiteral<"workflow_step">;
                stepId: z.ZodOptional<z.ZodString>;
                status: z.ZodOptional<z.ZodString>;
                output: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
                name: z.ZodString;
                durationMs: z.ZodOptional<z.ZodNumber>;
                metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
                children: z.ZodOptional<z.ZodAny>;
            }, z.core.$strip>, z.ZodObject<{
                stepType: z.ZodLiteral<"workflow_run">;
                workflowId: z.ZodOptional<z.ZodString>;
                status: z.ZodOptional<z.ZodString>;
                name: z.ZodString;
                durationMs: z.ZodOptional<z.ZodNumber>;
                metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
                children: z.ZodOptional<z.ZodAny>;
            }, z.core.$strip>, z.ZodObject<{
                stepType: z.ZodLiteral<"workflow_conditional">;
                conditionCount: z.ZodOptional<z.ZodNumber>;
                selectedSteps: z.ZodOptional<z.ZodArray<z.ZodString>>;
                name: z.ZodString;
                durationMs: z.ZodOptional<z.ZodNumber>;
                metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
                children: z.ZodOptional<z.ZodAny>;
            }, z.core.$strip>, z.ZodObject<{
                stepType: z.ZodLiteral<"workflow_parallel">;
                branchCount: z.ZodOptional<z.ZodNumber>;
                parallelSteps: z.ZodOptional<z.ZodArray<z.ZodString>>;
                name: z.ZodString;
                durationMs: z.ZodOptional<z.ZodNumber>;
                metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
                children: z.ZodOptional<z.ZodAny>;
            }, z.core.$strip>, z.ZodObject<{
                stepType: z.ZodLiteral<"workflow_loop">;
                loopType: z.ZodOptional<z.ZodString>;
                totalIterations: z.ZodOptional<z.ZodNumber>;
                name: z.ZodString;
                durationMs: z.ZodOptional<z.ZodNumber>;
                metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
                children: z.ZodOptional<z.ZodAny>;
            }, z.core.$strip>, z.ZodObject<{
                stepType: z.ZodLiteral<"workflow_sleep">;
                sleepDurationMs: z.ZodOptional<z.ZodNumber>;
                sleepType: z.ZodOptional<z.ZodString>;
                name: z.ZodString;
                durationMs: z.ZodOptional<z.ZodNumber>;
                metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
                children: z.ZodOptional<z.ZodAny>;
            }, z.core.$strip>, z.ZodObject<{
                stepType: z.ZodLiteral<"workflow_wait_event">;
                eventName: z.ZodOptional<z.ZodString>;
                eventReceived: z.ZodOptional<z.ZodBoolean>;
                name: z.ZodString;
                durationMs: z.ZodOptional<z.ZodNumber>;
                metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
                children: z.ZodOptional<z.ZodAny>;
            }, z.core.$strip>, z.ZodObject<{
                stepType: z.ZodLiteral<"processor_run">;
                processorId: z.ZodOptional<z.ZodString>;
                name: z.ZodString;
                durationMs: z.ZodOptional<z.ZodNumber>;
                metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
                children: z.ZodOptional<z.ZodAny>;
            }, z.core.$strip>], "stepType">, z.ZodObject<{
                stepType: z.ZodOptional<z.ZodUndefined>;
                name: z.ZodString;
                durationMs: z.ZodOptional<z.ZodNumber>;
                metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
                children: z.ZodOptional<z.ZodAny>;
            }, z.core.$strip>]>>>;
            ordering: z.ZodOptional<z.ZodEnum<{
                strict: "strict";
                relaxed: "relaxed";
                unordered: "unordered";
            }>>;
            allowRepeatedSteps: z.ZodOptional<z.ZodBoolean>;
            maxSteps: z.ZodOptional<z.ZodNumber>;
            maxTotalTokens: z.ZodOptional<z.ZodNumber>;
            maxTotalDurationMs: z.ZodOptional<z.ZodNumber>;
            noRedundantCalls: z.ZodOptional<z.ZodBoolean>;
            blacklistedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
            blacklistedSequences: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString>>>;
            maxRetriesPerTool: z.ZodOptional<z.ZodNumber>;
        }, z.core.$strip>>>;
        requestContext: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
        metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
        source: z.ZodOptional<z.ZodObject<{
            type: z.ZodEnum<{
                json: "json";
                csv: "csv";
                trace: "trace";
                llm: "llm";
                "experiment-result": "experiment-result";
            }>;
            referenceId: z.ZodOptional<z.ZodString>;
        }, z.core.$strip>>;
    }, z.core.$strip>>;
}, z.core.$strip>, z.ZodObject<{
    items: z.ZodArray<z.ZodObject<{
        id: z.ZodString;
        datasetId: z.ZodString;
        datasetVersion: z.ZodNumber;
        input: z.ZodUnknown;
        groundTruth: z.ZodOptional<z.ZodUnknown>;
        expectedTrajectory: z.ZodOptional<z.ZodUnknown>;
        requestContext: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
        metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
        source: z.ZodOptional<z.ZodObject<{
            type: z.ZodEnum<{
                json: "json";
                csv: "csv";
                trace: "trace";
                llm: "llm";
                "experiment-result": "experiment-result";
            }>;
            referenceId: z.ZodOptional<z.ZodString>;
        }, z.core.$strip>>;
        createdAt: z.ZodCoercedDate<unknown>;
        updatedAt: z.ZodCoercedDate<unknown>;
    }, z.core.$strip>>;
    count: z.ZodNumber;
}, z.core.$strip>>, "POST", "/datasets/:datasetId/items/batch">;
export declare const BATCH_DELETE_ITEMS_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<z.ZodObject<{
    datasetId: z.ZodString;
}, z.core.$strip>, undefined, z.ZodObject<{
    itemIds: z.ZodArray<z.ZodString>;
}, z.core.$strip>>, {
    success: boolean;
    deletedCount: number;
}, "json", import("../server-adapter").RouteSchemas<z.ZodObject<{
    datasetId: z.ZodString;
}, z.core.$strip>, undefined, z.ZodObject<{
    itemIds: z.ZodArray<z.ZodString>;
}, z.core.$strip>, z.ZodObject<{
    success: z.ZodBoolean;
    deletedCount: z.ZodNumber;
}, z.core.$strip>>, "DELETE", "/datasets/:datasetId/items/batch">;
export declare const GENERATE_ITEMS_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<z.ZodObject<{
    datasetId: z.ZodString;
}, z.core.$strip>, undefined, z.ZodObject<{
    modelId: z.ZodString;
    prompt: z.ZodString;
    count: z.ZodDefault<z.ZodNumber>;
    agentContext: z.ZodOptional<z.ZodObject<{
        description: z.ZodOptional<z.ZodString>;
        instructions: z.ZodOptional<z.ZodString>;
        tools: z.ZodOptional<z.ZodArray<z.ZodString>>;
    }, z.core.$strip>>;
}, z.core.$strip>>, {
    items: {
        input: unknown;
        groundTruth?: unknown;
    }[];
}, "json", import("../server-adapter").RouteSchemas<z.ZodObject<{
    datasetId: z.ZodString;
}, z.core.$strip>, undefined, z.ZodObject<{
    modelId: z.ZodString;
    prompt: z.ZodString;
    count: z.ZodDefault<z.ZodNumber>;
    agentContext: z.ZodOptional<z.ZodObject<{
        description: z.ZodOptional<z.ZodString>;
        instructions: z.ZodOptional<z.ZodString>;
        tools: z.ZodOptional<z.ZodArray<z.ZodString>>;
    }, z.core.$strip>>;
}, z.core.$strip>, z.ZodObject<{
    items: z.ZodArray<z.ZodObject<{
        input: z.ZodUnknown;
        groundTruth: z.ZodOptional<z.ZodUnknown>;
    }, z.core.$strip>>;
}, z.core.$strip>>, "POST", "/datasets/:datasetId/generate-items">;
export declare const CLUSTER_FAILURES_ROUTE: import("../server-adapter").ServerRoute<{
    modelId: string;
    items: {
        id: string;
        input: unknown;
        output?: unknown;
        error?: string | undefined;
        scores?: Record<string, number> | undefined;
        existingTags?: string[] | undefined;
    }[];
    availableTags?: string[] | undefined;
    prompt?: string | undefined;
}, {
    clusters: {
        id: string;
        label: string;
        description: string;
        itemIds: string[];
    }[];
    proposedTags?: {
        itemId: string;
        tags: string[];
        reason: string;
    }[] | undefined;
}, "json", import("../server-adapter").RouteSchemas<undefined, undefined, z.ZodObject<{
    modelId: z.ZodString;
    items: z.ZodArray<z.ZodObject<{
        id: z.ZodString;
        input: z.ZodUnknown;
        output: z.ZodOptional<z.ZodUnknown>;
        error: z.ZodOptional<z.ZodString>;
        scores: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNumber>>;
        existingTags: z.ZodOptional<z.ZodArray<z.ZodString>>;
    }, z.core.$strip>>;
    availableTags: z.ZodOptional<z.ZodArray<z.ZodString>>;
    prompt: z.ZodOptional<z.ZodString>;
}, z.core.$strip>, z.ZodObject<{
    clusters: z.ZodArray<z.ZodObject<{
        id: z.ZodString;
        label: z.ZodString;
        description: z.ZodString;
        itemIds: z.ZodArray<z.ZodString>;
    }, z.core.$strip>>;
    proposedTags: z.ZodOptional<z.ZodArray<z.ZodObject<{
        itemId: z.ZodString;
        tags: z.ZodArray<z.ZodString>;
        reason: z.ZodString;
    }, z.core.$strip>>>;
}, z.core.$strip>>, "POST", "/datasets/cluster-failures">;
//# sourceMappingURL=datasets.d.ts.map