import { AISpan, Sensitivity, SpanAttributeValue, SpanAttributes, SpanType } from "@graphorin/core"; //#region src/tracer/span.d.ts /** * Optional metadata accepted by `setAttribute(...)` to declare the * sensitivity of a single attribute. The validator uses the declared * tier when deciding whether to drop the attribute. * * @stable */ interface SetAttributeOptions { readonly sensitivity?: Sensitivity; } /** * The internal span carries the convenience `setAttribute(...)` method * exposed by the tracer surface (per-attribute sensitivity tagging) on * top of the standard {@link AISpan} contract. * * @stable */ interface GraphorinSpan extends AISpan { setAttribute(name: string, value: SpanAttributeValue, opts?: SetAttributeOptions): void; } //#endregion export { GraphorinSpan, SetAttributeOptions }; //# sourceMappingURL=span.d.ts.map