import type { TraceMapping } from "../check/trace.ts"; export type { TraceMapping, TraceSpan } from "../check/trace.ts"; /** * What each span means: a log line (`{instance, key, inputs, payload, state, actor}`), or * undefined to skip it. Left out, the instance is the span's service, and a message's sender * is found up the span's parents. * * export default defineTraceMapping((span) => * span.attributes["http.route"] === "/hold" ? { instance: "Box office", key: "hold" } : undefined); */ export declare function defineTraceMapping(map: TraceMapping): TraceMapping;