import { GenAIOperationName } from "./types.js"; import { SpanType } from "@graphorin/core"; //#region src/gen-ai/operation-mapping.d.ts /** * Resolve the canonical `gen_ai.operation.name` value for a Graphorin * span type. Returns `undefined` if no mapping exists (e.g. for * `replay.*` markers, which are emitted via a separate code path). * * @stable */ declare function operationNameFor(type: SpanType): GenAIOperationName | undefined; /** * Full canonical span-to-operation table - exposed for tooling * (documentation generators, fixture tests) that need to introspect * the mapping. * * @stable */ declare const OPERATION_NAME_TABLE: ReadonlyArray; //#endregion export { OPERATION_NAME_TABLE, operationNameFor }; //# sourceMappingURL=operation-mapping.d.ts.map