blob: d0d8b29d3936cfccc90ccc46df33bf65da6cde5f [file] [log] [blame]
import type { ExistingRawSourceMap } from 'rollup';
interface ResolvedSources {
sourcesResolved: string[];
sourcesContent: (string | Error)[];
}
interface ResolvedSourceMap {
map: ExistingRawSourceMap;
url: string | null;
sourcesRelativeTo: string;
sourceMappingURL: string;
}
export declare function resolveSourceMap(code: string, codeUrl: string, read: (path: string) => Promise<Buffer | string>): Promise<ResolvedSourceMap | null>;
export declare function resolveSources(map: ExistingRawSourceMap, mapUrl: string, read: (path: string) => Promise<Buffer | string>): Promise<ResolvedSources>;
export {};