import { Effect } from 'effect'; import type { Span } from 'effect/Tracer'; import type { ErrorRelatedSources, RawErrorLocation } from './get-sources-from-map-file.js'; export declare const getSourcesFromSpan: ({ span, sources, location, }: { span: Span | undefined; sources: ErrorRelatedSources[]; location: RawErrorLocation[]; }) => Effect.Effect<{ spans: { name: string; attributes: { [k: string]: unknown; }; durationInMilliseconds: number | undefined; startTime: bigint; endTime: bigint | undefined; }[]; location: RawErrorLocation[]; sources: ErrorRelatedSources[]; }, import("../dependencies/fs/index.js").JsonParsingError | import("@effect/platform/Error").PlatformError, import("@effect/platform/FileSystem").FileSystem>;