import { Span } from 'opentracing';
export interface TraceInfo {
    traceId?: string;
    isSampled: boolean;
}
export declare function getTraceInfo(span?: Span): TraceInfo;
/**
 * Do a shallow copy of a headers object and redacts sensitive information.
 *
 * @param headersObj The headers object
 * @param resultFieldsPrefix The prefix that will be added to each field on the result object
 */
export declare const cloneAndSanitizeHeaders: (headersObj: Record<string, any>, resultFieldsPrefix?: string) => Record<string, string>;
