export declare function useSpanDetail(traceId: string | null | undefined, spanId: string | null | undefined): import('@tanstack/react-query').UseQueryResult<{
    span: {
        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;
        source?: string | null | undefined;
        entityType?: import('@mastra/core/storage').EntityType | null | undefined;
        entityId?: string | null | undefined;
        entityName?: string | null | undefined;
        parentEntityType?: import('@mastra/core/storage').EntityType | null | undefined;
        parentEntityId?: string | null | undefined;
        parentEntityName?: string | null | undefined;
        rootEntityType?: import('@mastra/core/storage').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;
        serviceName?: string | null | undefined;
        scope?: Record<string, unknown> | null | undefined;
        entityVersionId?: string | null | undefined;
        parentEntityVersionId?: string | null | undefined;
        rootEntityVersionId?: string | null | undefined;
        parentSpanId?: string | null | undefined;
    };
}, Error>;
