import { Exception, InProgressSpan } from "../../utils/otel"; import { PropagatorType } from "../../vars"; export declare const HTTP_METHOD_OTHER = "_OTHER"; export declare function isWellKnownHttpMethod(method: string): boolean; export declare function addResourceNetworkEvents(span: InProgressSpan, resource: PerformanceResourceTiming): void; export declare function addResourceSize(span: InProgressSpan, resource: PerformanceResourceTiming): void; export declare function endSpanOnError(span: InProgressSpan, error: Exception): void; export declare function endSpanOnAbort(span: InProgressSpan): void; export declare function determinePropagatorTypes(url: string): PropagatorType[]; export declare function addTraceContextHttpHeaders(fn: (name: string, value: string) => void, ctx: unknown, span: InProgressSpan, types: PropagatorType[]): void;