import { SpanContextWrapper } from "../span-context-wrapper"; import { TracerWrapper } from "../tracer-wrapper"; /** * Common utility functions for trace context extraction */ /** * Attempts to extract trace context from headers, falling back to Step Function context if needed * @param headers The headers object to extract from * @param tracerWrapper The tracer wrapper instance * @returns SpanContextWrapper or null */ export declare function extractTraceContext(headers: any, tracerWrapper: TracerWrapper): SpanContextWrapper | null; /** * Extracts trace context from AWS Trace Header * @param awsTraceHeader The AWS trace header string * @param eventType The type of event (for logging) * @returns SpanContextWrapper or null */ export declare function extractFromAWSTraceHeader(awsTraceHeader: string, eventType: string): SpanContextWrapper | null; /** * Common error handler for extraction operations * @param error The error that occurred * @param eventType The type of event (for logging) */ export declare function handleExtractionError(error: unknown, eventType: string): void; //# sourceMappingURL=extractor-utils.d.ts.map