export declare const OBSERVABILITY_ROUTES: readonly [import(".").ServerRoute<Record<string, unknown>, {
    pagination: {
        total: number;
        page: number;
        perPage: number | false;
        hasMore: boolean;
    };
    spans: {
        createdAt: Date;
        updatedAt: Date | null;
        name: string;
        spanType: import("@mastra/core/observability").SpanType;
        isEvent: boolean;
        startedAt: Date;
        traceId: string;
        spanId: string;
        status: import("@mastra/core/storage").TraceStatus;
        experimentId?: string | null | undefined;
        attributes?: Record<string, unknown> | null | undefined;
        links?: unknown[] | null | undefined;
        input?: unknown;
        output?: unknown;
        error?: unknown;
        endedAt?: Date | null | undefined;
        requestContext?: Record<string, unknown> | null | undefined;
        metadata?: Record<string, unknown> | null | undefined;
        tags?: string[] | null | undefined;
        entityType?: import("@mastra/core/observability").EntityType | null | undefined;
        entityId?: string | null | undefined;
        entityName?: string | null | undefined;
        parentEntityType?: import("@mastra/core/observability").EntityType | null | undefined;
        parentEntityId?: string | null | undefined;
        parentEntityName?: string | null | undefined;
        rootEntityType?: import("@mastra/core/observability").EntityType | null | undefined;
        rootEntityId?: string | null | undefined;
        rootEntityName?: string | null | undefined;
        userId?: string | null | undefined;
        organizationId?: string | null | undefined;
        resourceId?: string | null | undefined;
        runId?: string | null | undefined;
        sessionId?: string | null | undefined;
        threadId?: string | null | undefined;
        requestId?: string | null | undefined;
        environment?: string | null | undefined;
        source?: string | null | undefined;
        serviceName?: string | null | undefined;
        scope?: Record<string, unknown> | null | undefined;
        parentSpanId?: string | null | undefined;
    }[];
}, "json", import(".").RouteSchemas<undefined, import("zod").ZodObject<Readonly<{
    [k: string]: import("zod/v4/core").$ZodType<unknown, unknown, import("zod/v4/core").$ZodTypeInternals<unknown, unknown>>;
}>, import("zod/v4/core").$strip>, undefined, import("zod").ZodObject<{
    pagination: import("zod").ZodObject<{
        total: import("zod").ZodNumber;
        page: import("zod").ZodNumber;
        perPage: import("zod").ZodUnion<readonly [import("zod").ZodNumber, import("zod").ZodLiteral<false>]>;
        hasMore: import("zod").ZodBoolean;
    }, import("zod/v4/core").$strip>;
    spans: import("zod").ZodArray<import("zod").ZodObject<{
        createdAt: import("zod").ZodDate;
        updatedAt: import("zod").ZodNullable<import("zod").ZodDate>;
        experimentId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
        attributes: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>>;
        links: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodArray<import("zod").ZodUnknown>>>;
        input: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodUnknown>>;
        output: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodUnknown>>;
        error: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodUnknown>>;
        endedAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodDate>>;
        requestContext: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>>;
        metadata: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>>;
        tags: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodArray<import("zod").ZodString>>>;
        entityType: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodEnum<typeof import("@mastra/core/observability").EntityType>>>;
        entityId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
        entityName: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
        parentEntityType: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodEnum<typeof import("@mastra/core/observability").EntityType>>>;
        parentEntityId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
        parentEntityName: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
        rootEntityType: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodEnum<typeof import("@mastra/core/observability").EntityType>>>;
        rootEntityId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
        rootEntityName: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
        userId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
        organizationId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
        resourceId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
        runId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
        sessionId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
        threadId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
        requestId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
        environment: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
        source: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
        serviceName: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
        scope: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>>;
        name: import("zod").ZodString;
        spanType: import("zod").ZodEnum<typeof import("@mastra/core/observability").SpanType>;
        isEvent: import("zod").ZodBoolean;
        startedAt: import("zod").ZodDate;
        parentSpanId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
        traceId: import("zod").ZodString;
        spanId: import("zod").ZodString;
        status: import("zod").ZodEnum<typeof import("@mastra/core/storage").TraceStatus>;
    }, import("zod/v4/core").$strip>>;
}, import("zod/v4/core").$strip>>, "GET", "/observability/traces">, import(".").ServerRoute<{
    traceId: string;
}, {
    traceId: string;
    spans: {
        createdAt: Date;
        updatedAt: Date | null;
        name: string;
        spanType: import("@mastra/core/observability").SpanType;
        isEvent: boolean;
        startedAt: Date;
        traceId: string;
        spanId: string;
        experimentId?: string | null | undefined;
        attributes?: Record<string, unknown> | null | undefined;
        links?: unknown[] | null | undefined;
        input?: unknown;
        output?: unknown;
        error?: unknown;
        endedAt?: Date | null | undefined;
        requestContext?: Record<string, unknown> | null | undefined;
        metadata?: Record<string, unknown> | null | undefined;
        tags?: string[] | null | undefined;
        entityType?: import("@mastra/core/observability").EntityType | null | undefined;
        entityId?: string | null | undefined;
        entityName?: string | null | undefined;
        parentEntityType?: import("@mastra/core/observability").EntityType | null | undefined;
        parentEntityId?: string | null | undefined;
        parentEntityName?: string | null | undefined;
        rootEntityType?: import("@mastra/core/observability").EntityType | null | undefined;
        rootEntityId?: string | null | undefined;
        rootEntityName?: string | null | undefined;
        userId?: string | null | undefined;
        organizationId?: string | null | undefined;
        resourceId?: string | null | undefined;
        runId?: string | null | undefined;
        sessionId?: string | null | undefined;
        threadId?: string | null | undefined;
        requestId?: string | null | undefined;
        environment?: string | null | undefined;
        source?: string | null | undefined;
        serviceName?: string | null | undefined;
        scope?: Record<string, unknown> | null | undefined;
        parentSpanId?: string | null | undefined;
    }[];
}, "json", import(".").RouteSchemas<import("zod").ZodObject<{
    traceId: import("zod").ZodString;
}, import("zod/v4/core").$strip>, undefined, undefined, import("zod").ZodObject<{
    traceId: import("zod").ZodString;
    spans: import("zod").ZodArray<import("zod").ZodObject<{
        createdAt: import("zod").ZodDate;
        updatedAt: import("zod").ZodNullable<import("zod").ZodDate>;
        experimentId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
        attributes: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>>;
        links: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodArray<import("zod").ZodUnknown>>>;
        input: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodUnknown>>;
        output: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodUnknown>>;
        error: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodUnknown>>;
        endedAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodDate>>;
        requestContext: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>>;
        metadata: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>>;
        tags: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodArray<import("zod").ZodString>>>;
        entityType: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodEnum<typeof import("@mastra/core/observability").EntityType>>>;
        entityId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
        entityName: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
        parentEntityType: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodEnum<typeof import("@mastra/core/observability").EntityType>>>;
        parentEntityId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
        parentEntityName: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
        rootEntityType: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodEnum<typeof import("@mastra/core/observability").EntityType>>>;
        rootEntityId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
        rootEntityName: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
        userId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
        organizationId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
        resourceId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
        runId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
        sessionId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
        threadId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
        requestId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
        environment: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
        source: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
        serviceName: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
        scope: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>>;
        name: import("zod").ZodString;
        spanType: import("zod").ZodEnum<typeof import("@mastra/core/observability").SpanType>;
        isEvent: import("zod").ZodBoolean;
        startedAt: import("zod").ZodDate;
        parentSpanId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
        traceId: import("zod").ZodString;
        spanId: import("zod").ZodString;
    }, import("zod/v4/core").$strip>>;
}, import("zod/v4/core").$strip>>, "GET", "/observability/traces/:traceId">, import(".").ServerRoute<{
    scorerName: string;
    targets: {
        traceId: string;
        spanId?: string | undefined;
    }[];
}, {
    status: string;
    message: string;
    traceCount: number;
}, "json", import(".").RouteSchemas<undefined, undefined, import("zod").ZodObject<{
    scorerName: import("zod").ZodString;
    targets: import("zod").ZodArray<import("zod").ZodObject<{
        traceId: import("zod").ZodString;
        spanId: import("zod").ZodOptional<import("zod").ZodString>;
    }, import("zod/v4/core").$strip>>;
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
    status: import("zod").ZodString;
    message: import("zod").ZodString;
    traceCount: import("zod").ZodNumber;
}, import("zod/v4/core").$strip>>, "POST", "/observability/traces/score">, import(".").ServerRoute<import(".").InferParams<import("zod").ZodObject<{
    traceId: import("zod").ZodString;
    spanId: import("zod").ZodString;
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
    page: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodCoercedNumber<unknown>>>;
    perPage: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodCoercedNumber<unknown>>>;
}, import("zod/v4/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;
        preprocessStepResult?: Record<string, unknown> | undefined;
        preprocessPrompt?: string | undefined;
        generateScorePrompt?: string | undefined;
        generateReasonPrompt?: string | undefined;
    }[];
}, "json", import(".").RouteSchemas<import("zod").ZodObject<{
    traceId: import("zod").ZodString;
    spanId: import("zod").ZodString;
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
    page: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodCoercedNumber<unknown>>>;
    perPage: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodCoercedNumber<unknown>>>;
}, import("zod/v4/core").$strip>, undefined, import("zod").ZodObject<{
    pagination: import("zod").ZodObject<{
        total: import("zod").ZodNumber;
        page: import("zod").ZodNumber;
        perPage: import("zod").ZodUnion<readonly [import("zod").ZodNumber, import("zod").ZodLiteral<false>]>;
        hasMore: import("zod").ZodBoolean;
    }, import("zod/v4/core").$strip>;
    scores: import("zod").ZodArray<import("zod").ZodObject<{
        createdAt: import("zod").ZodDate;
        updatedAt: import("zod").ZodNullable<import("zod").ZodDate>;
        id: import("zod").ZodString;
        scorerId: import("zod").ZodString;
        entityId: import("zod").ZodString;
        runId: import("zod").ZodString;
        input: import("zod").ZodOptional<import("zod").ZodUnknown>;
        output: import("zod").ZodUnknown;
        additionalContext: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
        requestContext: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
        extractStepResult: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
        extractPrompt: import("zod").ZodOptional<import("zod").ZodString>;
        score: import("zod").ZodNumber;
        analyzeStepResult: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
        analyzePrompt: import("zod").ZodOptional<import("zod").ZodString>;
        reason: import("zod").ZodOptional<import("zod").ZodString>;
        reasonPrompt: import("zod").ZodOptional<import("zod").ZodString>;
        scorer: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>;
        metadata: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
        source: import("zod").ZodEnum<{
            LIVE: "LIVE";
            TEST: "TEST";
        }>;
        entity: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>;
        entityType: import("zod").ZodOptional<import("zod").ZodEnum<{
            [x: string]: string;
        }>>;
        structuredOutput: import("zod").ZodOptional<import("zod").ZodBoolean>;
        traceId: import("zod").ZodOptional<import("zod").ZodString>;
        spanId: import("zod").ZodOptional<import("zod").ZodString>;
        resourceId: import("zod").ZodOptional<import("zod").ZodString>;
        threadId: import("zod").ZodOptional<import("zod").ZodString>;
        preprocessStepResult: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
        preprocessPrompt: import("zod").ZodOptional<import("zod").ZodString>;
        generateScorePrompt: import("zod").ZodOptional<import("zod").ZodString>;
        generateReasonPrompt: import("zod").ZodOptional<import("zod").ZodString>;
    }, import("zod/v4/core").$strip>>;
}, import("zod/v4/core").$strip>>, "GET", "/observability/traces/:traceId/:spanId/scores">];
//# sourceMappingURL=observability.d.ts.map