import { LightSpanRecord } from '@mastra/core/storage';
import { UseQueryResult } from '@tanstack/react-query';
export declare function useSpanDetail(traceId: string | null | undefined, spanId: string | null | undefined): UseQueryResult<{
    span: LightSpanRecord & {
        output?: unknown;
        result?: unknown;
    };
} | null>;
