| 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 {}; |