/**
 * sceneTraceDurationProbe — fast trace duration lookup for the preview
 * endpoint, deliberately bypassing the full scene_reconstruction skill.
 *
 * `trace_bounds` is a Perfetto stdlib table populated for every loaded
 * trace, so this query is O(1) and typically returns in <50ms regardless
 * of trace size. Cost: a single SQL round-trip into trace_processor_shell.
 *
 * Returns 0 on any failure (missing table, query error, NaN row); the
 * caller (`estimateSceneStoryCost`) interprets 0 as "unknown duration"
 * and falls back to MIN_EXPECTED_SCENES, so the preview still gives a
 * usable lower-bound estimate even if the probe misbehaves.
 */
import type { TraceProcessorService } from '../../services/traceProcessorService';
export declare function probeTraceDuration(tps: TraceProcessorService, traceId: string): Promise<number>;
//# sourceMappingURL=sceneTraceDurationProbe.d.ts.map