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): Promise; export declare function resolveSources(map: ExistingRawSourceMap, mapUrl: string, read: (path: string) => Promise): Promise; export {};