import { CostBudgetExceededCallback, CostBudgets, CostRecordInput, CostScope, CostSnapshot, CostTrackerOptions } from "./cost/types.js"; import { CostTracker, createCostTracker } from "./cost/cost-tracker.js"; import { CostTrackerDelegateIds, ProviderUsageInfoLike, costTrackerUsageDelegate } from "./cost/delegate.js"; import { Case, Dataset, EvalCaseResult, EvalReport, RunEvalOptions, ScoreResult, Scorer } from "./eval/types.js"; import { runEval } from "./eval/runner.js"; import { SpanRecord, SpanRecordEvent, TraceExporter, VALIDATED_EXPORTER_BRAND } from "./exporters/types.js"; import { ConsoleExporterOptions, createConsoleExporter } from "./exporters/console.js"; import { DateProvider, JSONLExporter, JSONLExporterOptions, createJSONLExporter } from "./exporters/jsonl.js"; import { OTLPHttpExporterOptions, createOTLPHttpExporter, toOtlpEnvelope } from "./exporters/otlp-http.js"; import { ALL_BUILT_IN_PATTERNS, BUILT_IN_PATTERNS, BuiltInPatternName, OPT_IN_PATTERNS, PatternCategory, RedactionPattern } from "./redaction/patterns.js"; import { RedactionCounters, RedactionInput, RedactionOutput, RedactionValidator, RedactionValidatorInstance, RedactionValidatorOptions, RedactionViolation, RedactionViolationCallback } from "./redaction/types.js"; import { WithValidationOptions, isValidatedExporter, tryGetValidatorCounters, withValidation } from "./exporters/with-validation.js"; import { GenAIAttributes, GenAIMessage, GenAIMessageRole, GenAIOperationName, GenAISystem, GenAIToolType, SpanTypeToOperationName } from "./gen-ai/types.js"; import { emitGenAIAttributes, emitGenAIMessageEvents } from "./gen-ai/emit.js"; import { OPERATION_NAME_TABLE, operationNameFor } from "./gen-ai/operation-mapping.js"; import { PROVIDER_CLASS_TO_GEN_AI_SYSTEM, _resetGenAISystemWarningsForTesting, deriveGenAISystem, setGenAISystemWarnSink } from "./gen-ai/system-derivation.js"; import { LoggerFormat, LoggerOptions, createLogger, getCurrentSpanContext, withCurrentSpan } from "./logger/logger.js"; import { OPEN_INFERENCE_EXCLUDED_TYPES, OPEN_INFERENCE_KIND_TABLE, OpenInferenceSpanKind, emitOpenInferenceKind, openInferenceKindFor } from "./openinference/index.js"; import { DEFAULT_VALIDATION_CONFIG, ValidationConfig } from "./redaction/config.js"; import { RedactionValidationError, UnvalidatedExporterError } from "./redaction/errors.js"; import { BUILT_IN_IMPERATIVE_PATTERNS, IMPERATIVE_PREFILTER_SUBSTRINGS, ImperativePattern, ImperativePatternName, ScanResult, scanImperativePatterns, stripImperativePatterns } from "./redaction/imperative-patterns.js"; import { compareSensitivityTiers, createRedactionValidator } from "./redaction/validator.js"; import { DEFAULT_REPLAY_LOG_CONFIG, ReplayLogConfig } from "./replay/config.js"; import { PruneTracesOptions, getTraceLog, pruneTraces } from "./replay/log.js"; import { ReplayAuditBridge, ReplayAuditEvent, ReplayEvent, ReplayMode, ReplayOptions, ReplayRunInput } from "./replay/types.js"; import { Replay, createReplay } from "./replay/replay.js"; import { TelemetryStatus, announceTelemetryPosture, enableTelemetry, getTelemetryStatus } from "./telemetry/index.js"; import { newSpanId, newTraceId } from "./tracer/ids.js"; import { Sampler, SamplingDecisionMaker, SamplingOptions, SamplingRule, createSampler } from "./tracer/sampling.js"; import { GraphorinSpan, SetAttributeOptions } from "./tracer/span.js"; import { spanNameFor } from "./tracer/span-names.js"; import { GraphorinTracer, TracerOptions, asGraphorinSpan, createTracer } from "./tracer/tracer.js"; //#region src/index.d.ts /** * @graphorin/observability - observability primitives for the * Graphorin framework. Ships: * * - the typed `AISpan` tracer over OpenTelemetry, * - the **mandatory** `withValidation()` wrapper for every exporter, * - the sensitivity-aware `RedactionValidator` with 14 built-in PII / * secret detection patterns, * - OpenTelemetry GenAI semantic-conventions conformance helpers, * - OpenInference span-kind emission, * - the structured `Logger` with span correlation, * - the append-only `JSONLExporter` for replay, * - sanitized-by-default `Replay` primitives, * - the hierarchical `CostTracker`, * - and a minimal inline eval runner. * * The full documentation lives in the package `README.md`. * * @packageDocumentation */ declare const VERSION: string; //#endregion export { ALL_BUILT_IN_PATTERNS, BUILT_IN_IMPERATIVE_PATTERNS, BUILT_IN_PATTERNS, BuiltInPatternName, Case, ConsoleExporterOptions, CostBudgetExceededCallback, CostBudgets, CostRecordInput, CostScope, CostSnapshot, CostTracker, CostTrackerDelegateIds, CostTrackerOptions, DEFAULT_REPLAY_LOG_CONFIG, DEFAULT_VALIDATION_CONFIG, Dataset, DateProvider, EvalCaseResult, EvalReport, GenAIAttributes, GenAIMessage, GenAIMessageRole, GenAIOperationName, GenAISystem, GenAIToolType, GraphorinSpan, GraphorinTracer, IMPERATIVE_PREFILTER_SUBSTRINGS, ImperativePattern, ImperativePatternName, ScanResult as ImperativeScanResult, JSONLExporter, JSONLExporterOptions, LoggerFormat, LoggerOptions, OPEN_INFERENCE_EXCLUDED_TYPES, OPEN_INFERENCE_KIND_TABLE, OPERATION_NAME_TABLE, OPT_IN_PATTERNS, OTLPHttpExporterOptions, OpenInferenceSpanKind, PROVIDER_CLASS_TO_GEN_AI_SYSTEM, PatternCategory, ProviderUsageInfoLike, PruneTracesOptions, RedactionCounters, RedactionInput, RedactionOutput, RedactionPattern, RedactionValidationError, RedactionValidator, RedactionValidatorInstance, RedactionValidatorOptions, RedactionViolation, RedactionViolationCallback, Replay, ReplayAuditBridge, ReplayAuditEvent, ReplayEvent, ReplayLogConfig, ReplayMode, ReplayOptions, ReplayRunInput, RunEvalOptions, Sampler, SamplingDecisionMaker, SamplingOptions, SamplingRule, ScoreResult, Scorer, SetAttributeOptions, SpanRecord, SpanRecordEvent, SpanTypeToOperationName, TelemetryStatus, TraceExporter, TracerOptions, UnvalidatedExporterError, VALIDATED_EXPORTER_BRAND, VERSION, ValidationConfig, WithValidationOptions, _resetGenAISystemWarningsForTesting, announceTelemetryPosture, asGraphorinSpan, compareSensitivityTiers, costTrackerUsageDelegate, createConsoleExporter, createCostTracker, createJSONLExporter, createLogger, createOTLPHttpExporter, createRedactionValidator, createReplay, createSampler, createTracer, deriveGenAISystem, emitGenAIAttributes, emitGenAIMessageEvents, emitOpenInferenceKind, enableTelemetry, getCurrentSpanContext, getTelemetryStatus, getTraceLog, isValidatedExporter, newSpanId, newTraceId, openInferenceKindFor, operationNameFor, pruneTraces, runEval, scanImperativePatterns, setGenAISystemWarnSink, spanNameFor, stripImperativePatterns, toOtlpEnvelope, tryGetValidatorCounters, withCurrentSpan, withValidation }; //# sourceMappingURL=index.d.ts.map