import type { PlatformError } from '@effect/platform/Error'; import type { FileSystem } from '@effect/platform/FileSystem'; import { Effect } from 'effect'; import type { JsonParsingError } from './../dependencies/fs/index.js'; import type { ErrorRelatedSources, RawErrorLocation } from './get-sources-from-map-file.js'; export type StackEntry = { _tag: 'stack-entry'; runPath: string; }; export type MaybeMappedSources = ErrorRelatedSources | RawErrorLocation | StackEntry; export declare const maybeMapSourcemaps: (name: string, stacktrace: string[]) => Effect.Effect;