@codama/renderers-js-umi
Version:
JavaScript renderer compatible with the Umi framework
13 lines • 681 B
TypeScript
import { TypeManifest } from './getTypeManifestVisitor';
export declare class ImportMap {
protected readonly _imports: Map<string, Set<string>>;
protected readonly _aliases: Map<string, Record<string, string>>;
add(module: string, imports: Set<string> | string[] | string): ImportMap;
remove(module: string, imports: Set<string> | string[] | string): ImportMap;
mergeWith(...others: ImportMap[]): ImportMap;
mergeWithManifest(manifest: TypeManifest): ImportMap;
addAlias(module: string, name: string, alias: string): ImportMap;
isEmpty(): boolean;
toString(dependencies: Record<string, string>): string;
}
//# sourceMappingURL=ImportMap.d.ts.map