/** * Parses a JS import/export statement (from a path) into its component parts. * Does NOT handle typescript (`import/export type`), imports not from paths, exports without paths, * or anything that's not a syntactically valid import/export statement. * * The statement is expected to be copied verbatim from a source file, so there's a slight chance it * could contain comments embedded in the middle. This will try to remove the comments, but * accuracy is not guaranteed (especially for contrived scenarios like imports inside comments). * * @param importLine - The import string to parse. * @returns A string array with the named imports, `'default'` and/or `'*'`. * This will return the original names, not the imported names. */ export declare function parseNamedImports(importLine: string): string[]; //# sourceMappingURL=parseNamedImports.d.ts.map