/** * Reference to a named export from another module, by its import location. * Serializable metadata: the driver renders `import { name } from 'from'`. * Used for enum types and plain imports that need no generic arguments. */ export interface ImportBase { /** Module specifier, e.g. '@pylonts/core' */ from: string; /** Named export, e.g. 'PageRequest' */ name: string; /** Type-only import (`import type`); defaults to a value import. */ type?: boolean; /** Default import (`import X from '...'`) instead of named (`import { X }`). */ default?: boolean; }