import { LightSpanRecord } from '@mastra/core/storage';
import { UseQueryResult } from '@tanstack/react-query';
export declare function useTraceLightSpans(traceId: string | null | undefined): UseQueryResult<{
    traceId: string;
    spans: LightSpanRecord[];
} | null>;
