import { TraceRepository } from '../repositories/traceRepository.js';
import { SpanData, SpanQueryOptions } from '../types/trace.js';
export declare class GetSpansByTraceId {
    private traceRepository;
    constructor(traceRepository: TraceRepository);
    execute(traceId: string, options?: SpanQueryOptions): Promise<{
        spans: SpanData[];
        hasNextPage: boolean;
    }>;
}
//# sourceMappingURL=getSpansByTraceId.d.ts.map