/** * Import/Export Parser * * Parses source files to extract imports and exports. * Uses regex-based parsing for speed and simplicity. * Supports JavaScript/TypeScript, Python, and Java. */ /** * Information about an import statement */ export interface ImportInfo { source: string; isRelative: boolean; isPackage: boolean; isBuiltin: boolean; importedNames: string[]; hasDefault: boolean; hasNamespace: boolean; isTypeOnly: boolean; isDynamic: boolean; line: number; /** * Set when this import is an HTML asset reference (`