export declare const LIST_DATASETS_ROUTE: import("../server-adapter").ServerRoute<{
    page: number;
    perPage: number;
}, {
    datasets: {
        name: string;
        id: string;
        createdAt: Date;
        updatedAt: Date;
        version: number;
        metadata?: Record<string, unknown> | null | undefined;
        description?: string | null | undefined;
        inputSchema?: Record<string, unknown> | null | undefined;
        groundTruthSchema?: Record<string, unknown> | null | undefined;
    }[];
    pagination: {
        total: number;
        page: number;
        perPage: number | false;
        hasMore: boolean;
    };
}, "json">;
export declare const CREATE_DATASET_ROUTE: import("../server-adapter").ServerRoute<{
    name: string;
    metadata?: Record<string, unknown> | undefined;
    description?: string | undefined;
    inputSchema?: Record<string, unknown> | null | undefined;
    groundTruthSchema?: Record<string, unknown> | null | undefined;
}, {
    name: string;
    id: string;
    createdAt: Date;
    updatedAt: Date;
    version: number;
    metadata?: Record<string, unknown> | null | undefined;
    description?: string | null | undefined;
    inputSchema?: Record<string, unknown> | null | undefined;
    groundTruthSchema?: Record<string, unknown> | null | undefined;
}, "json">;
export declare const GET_DATASET_ROUTE: import("../server-adapter").ServerRoute<{
    datasetId: string;
}, {
    name: string;
    id: string;
    createdAt: Date;
    updatedAt: Date;
    version: number;
    metadata?: Record<string, unknown> | null | undefined;
    description?: string | null | undefined;
    inputSchema?: Record<string, unknown> | null | undefined;
    groundTruthSchema?: Record<string, unknown> | null | undefined;
} | null, "json">;
export declare const UPDATE_DATASET_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<import("zod").ZodObject<{
    datasetId: import("zod").ZodString;
}, "strip", import("zod").ZodTypeAny, {
    datasetId: string;
}, {
    datasetId: string;
}>, undefined, import("zod").ZodObject<{
    name: import("zod").ZodOptional<import("zod").ZodString>;
    description: import("zod").ZodOptional<import("zod").ZodString>;
    metadata: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
    inputSchema: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodType<Record<string, unknown>, import("zod").ZodTypeDef, Record<string, unknown>>, import("zod").ZodNull]>>;
    groundTruthSchema: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodType<Record<string, unknown>, import("zod").ZodTypeDef, Record<string, unknown>>, import("zod").ZodNull]>>;
}, "strip", import("zod").ZodTypeAny, {
    metadata?: Record<string, unknown> | undefined;
    name?: string | undefined;
    description?: string | undefined;
    inputSchema?: Record<string, unknown> | null | undefined;
    groundTruthSchema?: Record<string, unknown> | null | undefined;
}, {
    metadata?: Record<string, unknown> | undefined;
    name?: string | undefined;
    description?: string | undefined;
    inputSchema?: Record<string, unknown> | null | undefined;
    groundTruthSchema?: Record<string, unknown> | null | undefined;
}>>, {
    name: string;
    id: string;
    createdAt: Date;
    updatedAt: Date;
    version: number;
    metadata?: Record<string, unknown> | null | undefined;
    description?: string | null | undefined;
    inputSchema?: Record<string, unknown> | null | undefined;
    groundTruthSchema?: Record<string, unknown> | null | undefined;
}, "json">;
export declare const DELETE_DATASET_ROUTE: import("../server-adapter").ServerRoute<{
    datasetId: string;
}, {
    success: boolean;
}, "json">;
export declare const LIST_ITEMS_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<import("zod").ZodObject<{
    datasetId: import("zod").ZodString;
}, "strip", import("zod").ZodTypeAny, {
    datasetId: string;
}, {
    datasetId: string;
}>, import("zod").ZodObject<{
    page: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
    perPage: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
    version: import("zod").ZodOptional<import("zod").ZodNumber>;
    search: import("zod").ZodOptional<import("zod").ZodString>;
}, "strip", import("zod").ZodTypeAny, {
    page: number;
    perPage: number;
    version?: number | undefined;
    search?: string | undefined;
}, {
    page?: number | undefined;
    perPage?: number | undefined;
    version?: number | undefined;
    search?: string | undefined;
}>, undefined>, {
    items: {
        id: string;
        createdAt: Date;
        updatedAt: Date;
        datasetId: string;
        datasetVersion: number;
        metadata?: Record<string, unknown> | undefined;
        input?: unknown;
        groundTruth?: unknown;
    }[];
    pagination: {
        total: number;
        page: number;
        perPage: number | false;
        hasMore: boolean;
    };
}, "json">;
export declare const ADD_ITEM_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<import("zod").ZodObject<{
    datasetId: import("zod").ZodString;
}, "strip", import("zod").ZodTypeAny, {
    datasetId: string;
}, {
    datasetId: string;
}>, undefined, import("zod").ZodObject<{
    input: import("zod").ZodUnknown;
    groundTruth: import("zod").ZodOptional<import("zod").ZodUnknown>;
    metadata: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
}, "strip", import("zod").ZodTypeAny, {
    metadata?: Record<string, unknown> | undefined;
    input?: unknown;
    groundTruth?: unknown;
}, {
    metadata?: Record<string, unknown> | undefined;
    input?: unknown;
    groundTruth?: unknown;
}>>, {
    id: string;
    createdAt: Date;
    updatedAt: Date;
    datasetId: string;
    datasetVersion: number;
    metadata?: Record<string, unknown> | undefined;
    input?: unknown;
    groundTruth?: unknown;
}, "json">;
export declare const GET_ITEM_ROUTE: import("../server-adapter").ServerRoute<{
    datasetId: string;
    itemId: string;
}, {
    id: string;
    createdAt: Date;
    updatedAt: Date;
    datasetId: string;
    datasetVersion: number;
    metadata?: Record<string, unknown> | undefined;
    input?: unknown;
    groundTruth?: unknown;
} | null, "json">;
export declare const UPDATE_ITEM_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<import("zod").ZodObject<{
    datasetId: import("zod").ZodString;
    itemId: import("zod").ZodString;
}, "strip", import("zod").ZodTypeAny, {
    datasetId: string;
    itemId: string;
}, {
    datasetId: string;
    itemId: string;
}>, undefined, import("zod").ZodObject<{
    input: import("zod").ZodOptional<import("zod").ZodUnknown>;
    groundTruth: import("zod").ZodOptional<import("zod").ZodUnknown>;
    metadata: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
}, "strip", import("zod").ZodTypeAny, {
    metadata?: Record<string, unknown> | undefined;
    input?: unknown;
    groundTruth?: unknown;
}, {
    metadata?: Record<string, unknown> | undefined;
    input?: unknown;
    groundTruth?: unknown;
}>>, {
    id: string;
    createdAt: Date;
    updatedAt: Date;
    datasetId: string;
    datasetVersion: number;
    metadata?: Record<string, unknown> | undefined;
    input?: unknown;
    groundTruth?: unknown;
}, "json">;
export declare const DELETE_ITEM_ROUTE: import("../server-adapter").ServerRoute<{
    datasetId: string;
    itemId: string;
}, {
    success: boolean;
}, "json">;
export declare const LIST_EXPERIMENTS_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<import("zod").ZodObject<{
    datasetId: import("zod").ZodString;
}, "strip", import("zod").ZodTypeAny, {
    datasetId: string;
}, {
    datasetId: string;
}>, import("zod").ZodObject<{
    page: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
    perPage: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
}, "strip", import("zod").ZodTypeAny, {
    page: number;
    perPage: number;
}, {
    page?: number | undefined;
    perPage?: number | undefined;
}>, undefined>, {
    pagination: {
        total: number;
        page: number;
        perPage: number | false;
        hasMore: boolean;
    };
    experiments: {
        status: "running" | "failed" | "pending" | "completed";
        id: string;
        createdAt: Date;
        updatedAt: Date;
        datasetId: string | null;
        targetType: "scorer" | "agent" | "processor" | "workflow";
        targetId: string;
        datasetVersion: number | null;
        totalItems: number;
        succeededCount: number;
        failedCount: number;
        skippedCount: number;
        startedAt: Date | null;
        completedAt: Date | null;
        metadata?: Record<string, unknown> | undefined;
        name?: string | undefined;
        description?: string | undefined;
    }[];
}, "json">;
export declare const TRIGGER_EXPERIMENT_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<import("zod").ZodObject<{
    datasetId: import("zod").ZodString;
}, "strip", import("zod").ZodTypeAny, {
    datasetId: string;
}, {
    datasetId: string;
}>, undefined, import("zod").ZodObject<{
    targetType: import("zod").ZodEnum<["agent", "workflow", "scorer"]>;
    targetId: import("zod").ZodString;
    scorerIds: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
    version: import("zod").ZodOptional<import("zod").ZodNumber>;
    maxConcurrency: import("zod").ZodOptional<import("zod").ZodNumber>;
}, "strip", import("zod").ZodTypeAny, {
    targetType: "scorer" | "agent" | "workflow";
    targetId: string;
    version?: number | undefined;
    scorerIds?: string[] | undefined;
    maxConcurrency?: number | undefined;
}, {
    targetType: "scorer" | "agent" | "workflow";
    targetId: string;
    version?: number | undefined;
    scorerIds?: string[] | undefined;
    maxConcurrency?: number | undefined;
}>>, {
    status: "running" | "failed" | "pending" | "completed";
    results: {
        error: string | null;
        retryCount: number;
        itemId: string;
        startedAt: Date;
        completedAt: Date;
        itemDatasetVersion: number | null;
        scores: {
            error: string | null;
            score: number | null;
            scorerId: string;
            scorerName: string;
            reason: string | null;
        }[];
        output?: unknown;
        input?: unknown;
        groundTruth?: unknown;
    }[];
    experimentId: string;
    totalItems: number;
    succeededCount: number;
    failedCount: number;
    startedAt: Date;
    completedAt: Date | null;
}, "json">;
export declare const GET_EXPERIMENT_ROUTE: import("../server-adapter").ServerRoute<{
    datasetId: string;
    experimentId: string;
}, {
    status: "running" | "failed" | "pending" | "completed";
    id: string;
    createdAt: Date;
    updatedAt: Date;
    datasetId: string | null;
    targetType: "scorer" | "agent" | "processor" | "workflow";
    targetId: string;
    datasetVersion: number | null;
    totalItems: number;
    succeededCount: number;
    failedCount: number;
    skippedCount: number;
    startedAt: Date | null;
    completedAt: Date | null;
    metadata?: Record<string, unknown> | undefined;
    name?: string | undefined;
    description?: string | undefined;
} | null, "json">;
export declare const LIST_EXPERIMENT_RESULTS_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<import("zod").ZodObject<{
    datasetId: import("zod").ZodString;
    experimentId: import("zod").ZodString;
}, "strip", import("zod").ZodTypeAny, {
    datasetId: string;
    experimentId: string;
}, {
    datasetId: string;
    experimentId: string;
}>, import("zod").ZodObject<{
    page: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
    perPage: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
}, "strip", import("zod").ZodTypeAny, {
    page: number;
    perPage: number;
}, {
    page?: number | undefined;
    perPage?: number | undefined;
}>, undefined>, {
    results: {
        traceId: string | null;
        error: {
            message: string;
            code?: string | undefined;
            stack?: string | undefined;
        } | null;
        id: string;
        createdAt: Date;
        retryCount: number;
        experimentId: string;
        itemId: string;
        startedAt: Date;
        completedAt: Date;
        itemDatasetVersion: number | null;
        output?: unknown;
        input?: unknown;
        groundTruth?: unknown;
    }[];
    pagination: {
        total: number;
        page: number;
        perPage: number | false;
        hasMore: boolean;
    };
}, "json">;
export declare const COMPARE_EXPERIMENTS_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<import("zod").ZodObject<{
    datasetId: import("zod").ZodString;
}, "strip", import("zod").ZodTypeAny, {
    datasetId: string;
}, {
    datasetId: string;
}>, undefined, import("zod").ZodObject<{
    experimentIdA: import("zod").ZodString;
    experimentIdB: import("zod").ZodString;
}, "strip", import("zod").ZodTypeAny, {
    experimentIdA: string;
    experimentIdB: string;
}, {
    experimentIdA: string;
    experimentIdB: string;
}>>, {
    baselineId: string;
    items: {
        results: Record<string, {
            scores: Record<string, number | null>;
            output?: unknown;
        } | null>;
        itemId: string;
        input?: unknown;
        groundTruth?: unknown;
    }[];
}, "json">;
export declare const LIST_DATASET_VERSIONS_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<import("zod").ZodObject<{
    datasetId: import("zod").ZodString;
}, "strip", import("zod").ZodTypeAny, {
    datasetId: string;
}, {
    datasetId: string;
}>, import("zod").ZodObject<{
    page: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
    perPage: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
}, "strip", import("zod").ZodTypeAny, {
    page: number;
    perPage: number;
}, {
    page?: number | undefined;
    perPage?: number | undefined;
}>, undefined>, {
    pagination: {
        total: number;
        page: number;
        perPage: number | false;
        hasMore: boolean;
    };
    versions: {
        id: string;
        createdAt: Date;
        version: number;
        datasetId: string;
    }[];
}, "json">;
export declare const LIST_ITEM_VERSIONS_ROUTE: import("../server-adapter").ServerRoute<{
    datasetId: string;
    itemId: string;
}, {
    history: {
        id: string;
        createdAt: Date;
        updatedAt: Date;
        datasetId: string;
        datasetVersion: number;
        validTo: number | null;
        isDeleted: boolean;
        metadata?: Record<string, unknown> | undefined;
        input?: unknown;
        groundTruth?: unknown;
    }[];
}, "json">;
export declare const GET_ITEM_VERSION_ROUTE: import("../server-adapter").ServerRoute<{
    datasetId: string;
    itemId: string;
    datasetVersion: number;
}, {
    id: string;
    createdAt: Date;
    updatedAt: Date;
    datasetId: string;
    datasetVersion: number;
    metadata?: Record<string, unknown> | undefined;
    input?: unknown;
    groundTruth?: unknown;
} | null, "json">;
export declare const BATCH_INSERT_ITEMS_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<import("zod").ZodObject<{
    datasetId: import("zod").ZodString;
}, "strip", import("zod").ZodTypeAny, {
    datasetId: string;
}, {
    datasetId: string;
}>, undefined, import("zod").ZodObject<{
    items: import("zod").ZodArray<import("zod").ZodObject<{
        input: import("zod").ZodUnknown;
        groundTruth: import("zod").ZodOptional<import("zod").ZodUnknown>;
        metadata: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
    }, "strip", import("zod").ZodTypeAny, {
        metadata?: Record<string, unknown> | undefined;
        input?: unknown;
        groundTruth?: unknown;
    }, {
        metadata?: Record<string, unknown> | undefined;
        input?: unknown;
        groundTruth?: unknown;
    }>, "many">;
}, "strip", import("zod").ZodTypeAny, {
    items: {
        metadata?: Record<string, unknown> | undefined;
        input?: unknown;
        groundTruth?: unknown;
    }[];
}, {
    items: {
        metadata?: Record<string, unknown> | undefined;
        input?: unknown;
        groundTruth?: unknown;
    }[];
}>>, {
    count: number;
    items: {
        id: string;
        createdAt: Date;
        updatedAt: Date;
        datasetId: string;
        datasetVersion: number;
        metadata?: Record<string, unknown> | undefined;
        input?: unknown;
        groundTruth?: unknown;
    }[];
}, "json">;
export declare const BATCH_DELETE_ITEMS_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<import("zod").ZodObject<{
    datasetId: import("zod").ZodString;
}, "strip", import("zod").ZodTypeAny, {
    datasetId: string;
}, {
    datasetId: string;
}>, undefined, import("zod").ZodObject<{
    itemIds: import("zod").ZodArray<import("zod").ZodString, "many">;
}, "strip", import("zod").ZodTypeAny, {
    itemIds: string[];
}, {
    itemIds: string[];
}>>, {
    success: boolean;
    deletedCount: number;
}, "json">;
//# sourceMappingURL=datasets.d.ts.map