import { z } from 'zod';
export declare const LIST_TRACES_ROUTE: import("../server-adapter").ServerRoute<{
    [x: string]: any;
}, {
    pagination: {
        total: number;
        hasMore: boolean;
        page: number;
        perPage: number | false;
    };
    spans: {
        status: import("@mastra/core/storage").TraceStatus;
        createdAt: Date;
        name: string;
        updatedAt: Date | null;
        traceId: string;
        spanId: string;
        startedAt: Date;
        spanType: import("@mastra/core/observability").SpanType;
        isEvent: boolean;
        error?: unknown;
        runId?: string | null | undefined;
        input?: unknown;
        threadId?: string | null | undefined;
        resourceId?: string | null | undefined;
        metadata?: Record<string, unknown> | null | undefined;
        source?: string | null | undefined;
        output?: unknown;
        entityType?: import("@mastra/core/observability").EntityType | null | undefined;
        entityId?: string | null | undefined;
        endedAt?: Date | null | undefined;
        scope?: Record<string, unknown> | null | undefined;
        links?: unknown[] | null | undefined;
        parentSpanId?: string | null | undefined;
        attributes?: Record<string, unknown> | null | undefined;
        entityName?: string | null | undefined;
        userId?: string | null | undefined;
        organizationId?: string | null | undefined;
        sessionId?: string | null | undefined;
        requestId?: string | null | undefined;
        environment?: string | null | undefined;
        serviceName?: string | null | undefined;
        tags?: string[] | null | undefined;
    }[];
}, "json">;
export declare const GET_TRACE_ROUTE: import("../server-adapter").ServerRoute<{
    traceId: string;
}, {
    traceId: string;
    spans: {
        createdAt: Date;
        name: string;
        updatedAt: Date | null;
        traceId: string;
        spanId: string;
        startedAt: Date;
        spanType: import("@mastra/core/observability").SpanType;
        isEvent: boolean;
        error?: unknown;
        runId?: string | null | undefined;
        input?: unknown;
        threadId?: string | null | undefined;
        resourceId?: string | null | undefined;
        metadata?: Record<string, unknown> | null | undefined;
        source?: string | null | undefined;
        output?: unknown;
        entityType?: import("@mastra/core/observability").EntityType | null | undefined;
        entityId?: string | null | undefined;
        endedAt?: Date | null | undefined;
        scope?: Record<string, unknown> | null | undefined;
        links?: unknown[] | null | undefined;
        parentSpanId?: string | null | undefined;
        attributes?: Record<string, unknown> | null | undefined;
        entityName?: string | null | undefined;
        userId?: string | null | undefined;
        organizationId?: string | null | undefined;
        sessionId?: string | null | undefined;
        requestId?: string | null | undefined;
        environment?: string | null | undefined;
        serviceName?: string | null | undefined;
        tags?: string[] | null | undefined;
    }[];
}, "json">;
export declare const SCORE_TRACES_ROUTE: import("../server-adapter").ServerRoute<{
    scorerName: string;
    targets: {
        traceId: string;
        spanId?: string | undefined;
    }[];
}, {
    message: string;
    status: string;
    traceCount: number;
}, "json">;
export declare const LIST_SCORES_BY_SPAN_ROUTE: import("../server-adapter").ServerRoute<import("../server-adapter").InferParams<z.ZodObject<{
    traceId: z.ZodString;
    spanId: z.ZodString;
}, "strip", z.ZodTypeAny, {
    traceId: string;
    spanId: string;
}, {
    traceId: string;
    spanId: string;
}>, z.ZodObject<{
    page: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
    perPage: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
}, "strip", z.ZodTypeAny, {
    page: number;
    perPage: number;
}, {
    page?: number | undefined;
    perPage?: number | undefined;
}>, undefined>, {
    pagination: {
        total: number;
        hasMore: boolean;
        page: number;
        perPage: number | false;
    };
    scores: {
        runId: string;
        source: "LIVE" | "TEST";
        id: string;
        createdAt: Date;
        updatedAt: Date | null;
        scorer: Record<string, unknown>;
        entity: Record<string, unknown>;
        score: number;
        scorerId: string;
        entityId: string;
        input?: unknown;
        threadId?: string | undefined;
        resourceId?: string | undefined;
        metadata?: Record<string, unknown> | undefined;
        output?: unknown;
        additionalContext?: Record<string, unknown> | undefined;
        requestContext?: Record<string, unknown> | undefined;
        entityType?: string | undefined;
        structuredOutput?: boolean | undefined;
        traceId?: string | undefined;
        spanId?: string | undefined;
        extractStepResult?: Record<string, unknown> | undefined;
        extractPrompt?: string | undefined;
        analyzeStepResult?: Record<string, unknown> | undefined;
        analyzePrompt?: string | undefined;
        reason?: string | undefined;
        reasonPrompt?: string | undefined;
        preprocessStepResult?: Record<string, unknown> | undefined;
        preprocessPrompt?: string | undefined;
        generateScorePrompt?: string | undefined;
        generateReasonPrompt?: string | undefined;
    }[];
}, "json">;
//# sourceMappingURL=observability.d.ts.map