/** * A generic image record owned (via module link) by a marketplace entity * such as a product category — and, in a later iteration, a product * collection. The owner id is NOT stored here; it lives in the link table. * * `type` discriminates the icon (`"icon"`) from gallery images (`null`). * Among gallery images, `is_thumbnail` / `is_banner` mark the storefront * roles; the same image may carry both flags or neither. The single- * thumbnail / single-banner / single-icon invariants are enforced in the * `setCategoryImages` workflow, not by DB constraints (they span the link * table). * * Table is `media_image`, NOT `image`, AND the model name is `MediaImage`, * NOT `Image`: Medusa's product module already owns both a table named * `image` and a model named `Image` (its ProductImage). Reusing either name * collides in the joiner's entity map, so the `media_images` link alias * resolves ambiguously and every product `query.graph` throws * `Cannot resolve alias path "" that matches entity Product`. */ declare const MediaImage: import("@medusajs/framework/utils").DmlEntity; url: import("@medusajs/framework/utils").TextProperty; type: import("@medusajs/framework/utils").NullableModifier; is_thumbnail: import("@medusajs/framework/utils").BooleanProperty; is_banner: import("@medusajs/framework/utils").BooleanProperty; rank: import("@medusajs/framework/utils").NumberProperty; metadata: import("@medusajs/framework/utils").NullableModifier, import("@medusajs/framework/utils").JSONProperty>; }>, { readonly tableName: "media_image"; readonly name: "MediaImage"; }>; export default MediaImage;