UNPKG

407 BTypeScriptView Raw
1import { SnowpackSourceFile } from './types';
2export declare function scanCodeImportsExports(code: string): Promise<any[]>;
3export declare function transformEsmImports(_code: string, replaceImport: (specifier: string) => string): Promise<string>;
4export declare function transformFileImports({ baseExt, contents }: SnowpackSourceFile<string>, replaceImport: (specifier: string) => string): Promise<string>;