export = genPugSourceMap declare function genPugSourceMap( compiledFileName: string, compiled: string, options?: genPugSourceMap.PugSourceMapOpts ): { data: string, map: genPugSourceMap.PugRawSourceMap, } declare namespace genPugSourceMap { export interface PugRawSourceMap { file: string mappings: string names: string[] sourceRoot?: string sources: string[] sourcesContent?: string[] version: number } export interface PugSourceMapOpts { /** * Define the root directory of the source files for using relative names. * This is the same value that you pass to the Pug compiler. * @default: current working directory */ basedir?: string /** * If `true`, keep debugging information in the generated code. * @default false */ keepDebugLines?: boolean /** * If `true`, do not include the original source(s) in the source map. * @default false */ excludeContent?: boolean } }