import { z } from 'zod/v4';
import type { ServerRoute } from '../server-adapter/routes/index.js';
export * from './observability-new-endpoints.js';
/** Route: GET /observability/traces - paginated trace listing with filtering and sorting. */
export declare const LIST_TRACES_ROUTE: ServerRoute;
/** Route: GET /observability/traces/light - paginated lightweight trace listing with filtering and sorting. */
export declare const LIST_TRACES_LIGHT_ROUTE: ServerRoute<Record<string, unknown>, any, "json", import("../server-adapter").RouteSchemas<undefined, z.ZodObject<Readonly<{
    [k: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
}>, z.core.$strip>, undefined, any>, "GET", "/observability/traces/light">;
/** Route: GET /observability/branches - paginated branch-anchor span listing across all traces. */
export declare const LIST_BRANCHES_ROUTE: ServerRoute<Record<string, unknown>, any, "json", import("../server-adapter").RouteSchemas<undefined, z.ZodObject<Readonly<{
    [k: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
}>, z.core.$strip>, undefined, any>, "GET", "/observability/branches">;
/** Route: GET /observability/traces/:traceId/branches/:spanId - retrieve the subtree rooted at a span. */
export declare const GET_BRANCH_ROUTE: ServerRoute<any, any, "json", import("../server-adapter").RouteSchemas<any, z.ZodObject<Readonly<{
    [k: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
}>, z.core.$strip>, undefined, any>, "GET", "/observability/traces/:traceId/branches/:spanId">;
/** Route: GET /observability/traces/:traceId - retrieve a single trace with all spans. */
export declare const GET_TRACE_ROUTE: ServerRoute;
/** Route: GET /observability/traces/:traceId/light - lightweight trace for timeline rendering. */
export declare const GET_TRACE_LIGHT_ROUTE: ServerRoute;
/** Route: GET /observability/traces/:traceId/spans/:spanId - get a single span with full details. */
export declare const GET_SPAN_ROUTE: ServerRoute;
/** Route: GET /observability/traces/:traceId/trajectory - extract trajectory from a trace. */
export declare const GET_TRACE_TRAJECTORY_ROUTE: ServerRoute<{
    traceId: string;
}, {
    steps: unknown[];
    totalDurationMs?: number | undefined;
    rawOutput?: unknown;
    rawWorkflowResult?: unknown;
}, "json", import("../server-adapter").RouteSchemas<z.ZodObject<{
    traceId: z.ZodString;
}, z.core.$strip>, undefined, undefined, z.ZodObject<{
    steps: z.ZodArray<z.ZodUnknown>;
    totalDurationMs: z.ZodOptional<z.ZodNumber>;
    rawOutput: z.ZodOptional<z.ZodUnknown>;
    rawWorkflowResult: z.ZodOptional<z.ZodUnknown>;
}, z.core.$strip>>, "GET", "/observability/traces/:traceId/trajectory">;
/** Route: POST /observability/traces/score - score traces using a specified scorer (fire-and-forget). */
export declare const SCORE_TRACES_ROUTE: ServerRoute<{
    scorerName: string;
    targets: {
        traceId: string;
        spanId?: string | undefined;
    }[];
}, {
    status: string;
    message: string;
    traceCount: number;
}, "json", import("../server-adapter").RouteSchemas<undefined, undefined, z.ZodObject<{
    scorerName: z.ZodString;
    targets: z.ZodArray<z.ZodObject<{
        traceId: z.ZodString;
        spanId: z.ZodOptional<z.ZodString>;
    }, z.core.$strip>>;
}, z.core.$strip>, z.ZodObject<{
    status: z.ZodString;
    message: z.ZodString;
    traceCount: z.ZodNumber;
}, z.core.$strip>>, "POST", "/observability/traces/score">;
export declare const LIST_SCORES_BY_SPAN_ROUTE: ServerRoute<import("../server-adapter").InferParams<z.ZodObject<{
    traceId: z.ZodString;
    spanId: z.ZodString;
}, z.core.$strip>, z.ZodObject<Readonly<{
    [k: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
}>, z.core.$strip>, undefined>, {
    pagination: {
        total: number;
        page: number;
        perPage: number | false;
        hasMore: boolean;
    };
    scores: {
        createdAt: Date;
        updatedAt: Date | null;
        id: string;
        scorerId: string;
        entityId: string;
        runId: string;
        output: unknown;
        score: number;
        scorer: Record<string, unknown>;
        source: "LIVE" | "TEST";
        entity: Record<string, unknown>;
        input?: unknown;
        additionalContext?: Record<string, unknown> | undefined;
        requestContext?: Record<string, unknown> | undefined;
        extractStepResult?: Record<string, unknown> | undefined;
        extractPrompt?: string | undefined;
        analyzeStepResult?: Record<string, unknown> | undefined;
        analyzePrompt?: string | undefined;
        reason?: string | undefined;
        reasonPrompt?: string | undefined;
        metadata?: Record<string, unknown> | undefined;
        entityType?: string | undefined;
        structuredOutput?: boolean | undefined;
        traceId?: string | undefined;
        spanId?: string | undefined;
        resourceId?: string | undefined;
        threadId?: string | undefined;
        organizationId?: string | null | undefined;
        projectId?: string | null | undefined;
        batchId?: string | null | undefined;
        datasetId?: string | null | undefined;
        datasetItemId?: string | null | undefined;
        preprocessStepResult?: Record<string, unknown> | undefined;
        preprocessPrompt?: string | undefined;
        generateScorePrompt?: string | undefined;
        generateReasonPrompt?: string | undefined;
    }[];
}, "json", import("../server-adapter").RouteSchemas<z.ZodObject<{
    traceId: z.ZodString;
    spanId: z.ZodString;
}, z.core.$strip>, z.ZodObject<Readonly<{
    [k: string]: z.core.$ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
}>, z.core.$strip>, undefined, z.ZodObject<{
    pagination: z.ZodObject<{
        total: z.ZodNumber;
        page: z.ZodNumber;
        perPage: z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<false>]>;
        hasMore: z.ZodBoolean;
    }, z.core.$strip>;
    scores: z.ZodArray<z.ZodObject<{
        createdAt: z.ZodDate;
        updatedAt: z.ZodNullable<z.ZodDate>;
        id: z.ZodString;
        scorerId: z.ZodString;
        entityId: z.ZodString;
        runId: z.ZodString;
        input: z.ZodOptional<z.ZodUnknown>;
        output: z.ZodUnknown;
        additionalContext: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
        requestContext: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
        extractStepResult: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
        extractPrompt: z.ZodOptional<z.ZodString>;
        score: z.ZodNumber;
        analyzeStepResult: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
        analyzePrompt: z.ZodOptional<z.ZodString>;
        reason: z.ZodOptional<z.ZodString>;
        reasonPrompt: z.ZodOptional<z.ZodString>;
        scorer: z.ZodRecord<z.ZodString, z.ZodUnknown>;
        metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
        source: z.ZodEnum<{
            LIVE: "LIVE";
            TEST: "TEST";
        }>;
        entity: z.ZodRecord<z.ZodString, z.ZodUnknown>;
        entityType: z.ZodOptional<z.ZodEnum<{
            [x: string]: string;
        }>>;
        structuredOutput: z.ZodOptional<z.ZodBoolean>;
        traceId: z.ZodOptional<z.ZodString>;
        spanId: z.ZodOptional<z.ZodString>;
        resourceId: z.ZodOptional<z.ZodString>;
        threadId: z.ZodOptional<z.ZodString>;
        organizationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
        projectId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
        batchId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
        datasetId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
        datasetItemId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
        preprocessStepResult: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
        preprocessPrompt: z.ZodOptional<z.ZodString>;
        generateScorePrompt: z.ZodOptional<z.ZodString>;
        generateReasonPrompt: z.ZodOptional<z.ZodString>;
    }, z.core.$strip>>;
}, z.core.$strip>>, "GET", "/observability/traces/:traceId/:spanId/scores">;
//# sourceMappingURL=observability.d.ts.map