import type { SourceLocation, FileSystem } from '@atlaspack/types-internal'; import SourceMap from '@atlaspack/source-map'; export declare const SOURCEMAP_RE: RegExp; export declare const SOURCEMAP_EXTENSIONS: Set; export declare function matchSourceMappingURL(contents: string): RegExpMatchArray | null; export declare function loadSourceMapUrl(fs: FileSystem, filename: string, contents: string): Promise<{ filename: string; map: any; url: string; } | null | undefined>; export declare function loadSourceMap(filename: string, contents: string, options: { fs: FileSystem; projectRoot: string; }): Promise; export declare function remapSourceLocation(loc: SourceLocation, originalMap: SourceMap, projectRoot: string): SourceLocation;