UNPKG

741 BTypeScriptView Raw
1import { ImportedConfiguration } from '../configuration/configuration';
2interface MappedImport {
3 name: string;
4 comment: string;
5}
6interface FileContent {
7 file: string;
8 content: string;
9}
10export declare const getDynamicImports: (str: string) => MappedImport[];
11export declare const cleanFileContent: (content: string) => string;
12export declare const remapImports: (data: FileContent[], root: string, targetDir: string, getRelativeName: (a: string, b: string) => string, imports: Record<string, string>, testImport: NonNullable<ImportedConfiguration['testImport']>, chunkName?: ImportedConfiguration['chunkName']) => void;
13export declare function scanTop(root: string, start: string, target: string): Promise<void>;
14export {};