import { SourceMapOptions } from "./index"; export interface RawSourceMap { version: number; file: string; sources: Array; sourceRoot?: string; sourcesContent?: Array; mappings: string; names: Array; } /** * Generate a simple source map indicating that each line maps directly to the original line. */ export default function computeSourceMap(code: string, filePath: string, { compiledFilename }: SourceMapOptions): RawSourceMap;