import { Nullable } from './Typescript-utils'; export declare enum ProductTypes { PRODUCT = "product", PRODUCT_TAGS = "product_tag" } interface IProductRelationships { product_feed: { meta: { included: false; }; }; } interface IProductTagRelationships { product: { data: { id: string; type: ProductTypes.PRODUCT; }; }; } export interface IProduct { id: string; type: typeof ProductTypes.PRODUCT; relationships: IProductRelationships; attributes: { availability: string; categories: ReadonlyArray; currency: string; description: string; image_url: string; name: string; price: string; sale_price: string; sale_price_ends_at: Nullable; sale_price_starts_at: Nullable; sku: string; status: string; url: Nullable; }; } export interface IProductTags { id: string; type: typeof ProductTypes.PRODUCT_TAGS; relationships: IProductTagRelationships; attributes: { height: string; product_id: string; width: string; x: string; y: string; }; } export interface ITaggedProduct { x: string; y: string; width: string; height: string; productId: string; productUrl?: Nullable; productTagId: string; } export interface IProductItem { name: string; price: string; sku: number; productUrl: Nullable; productImage: string; currency: string; } export {};