import { type Span, type AttributeValue } from '@opentelemetry/api'; import { WellKnownTelemetryNames as names } from '../WellKnownTelemetryNames.js'; import type { ChronicleTelemetryOptions } from './ChronicleTelemetryOptions.js'; /** Records a canonical shared or product-specific attribute. */ export declare function setTelemetryAttribute(span: Span, name: keyof typeof names.attributes, value: AttributeValue): void; /** Preserves the exact compatibility string; records the canonical integer only when exactly representable. */ export declare function setSequenceNumber(span: Span, value: bigint): void; /** Records an event source identifier only under the client's explicit privacy policy. */ export declare function setEventSourceId(span: Span, value: string | undefined, options?: ChronicleTelemetryOptions): void; /** Classifies failures without serializing arbitrary thrown values, messages or stacks. */ export declare function exceptionType(error: unknown): string; /** Records failure type only; preserves the original exception for the caller. */ export declare function recordSafeException(span: Span, error: unknown): void; //# sourceMappingURL=spanAttributes.d.ts.map