UNPKG

@mui/internal-docs-infra

Version:

MUI Infra - internal documentation creation tools.

20 lines 500 B
interface ImportName { name: string; alias?: string; type: 'default' | 'named' | 'namespace'; isType?: boolean; } interface RelativeImport { path: string; names: ImportName[]; includeTypeDefs?: true; } interface ExternalImport { names: ImportName[]; } interface ParseImportsResult { relative: Record<string, RelativeImport>; externals: Record<string, ExternalImport>; } export declare function parseImports(code: string, _filePath: string): Promise<ParseImportsResult>; export {};