import { FileSystem } from '../fs/FileSystem'; import { RawToken } from './RawSourceParser'; export interface ImportRemapperResult { readonly inputImports: RawToken[]; readonly outputImportsCode: string; } export declare type Remapper = (code: string, id: string) => string; export declare const createRemapper: (fs?: FileSystem) => Remapper; export declare const remapImportsInSource: (remapper: Remapper, code: string, fullModulePath: string) => ImportRemapperResult;