import { GenAIAttributes, GenAIMessage } from "./types.js"; import { AISpan, SpanType } from "@graphorin/core"; //#region src/gen-ai/emit.d.ts /** * Attach the canonical `gen_ai.*` attribute set to a span. The helper * is additive on the existing Graphorin-prefixed attributes and applies * the per-attribute sensitivity defaults catalogue. * * @stable */ declare function emitGenAIAttributes(span: AISpan, attrs: GenAIAttributes): void; /** * Emit per-message OpenTelemetry GenAI span events. The helper records * one event per message - the per-message-event emission shape per the * OTel semconv discipline (size-bounded individually; safer than the * aggregate-attribute shape on large prompts). * * @stable */ declare function emitGenAIMessageEvents(span: AISpan, messages: ReadonlyArray, opts?: { readonly system?: string; }): void; //#endregion export { emitGenAIAttributes, emitGenAIMessageEvents }; //# sourceMappingURL=emit.d.ts.map