import type { BraintrustClient } from "./client.js"; export type TraceSurface = "pipeline" | "superintendent" | "experiment" | "spawn"; export declare function makeTraceRun(client: BraintrustClient): (surface: TraceSurface, name: string, fn: () => Promise) => Promise;