import { CollectionName, ConstructorData } from '../types'; import { Barcode } from './Barcode'; import { Image } from './Image'; import { Measurements } from './Measurement'; import { Tag } from './Tag'; /** * Represents a product in the inventory system * @example * ```typescript * const product = new Product({ * title: 'Premium Coffee Beans', * subtitle: 'Single-Origin Reserve', * description: 'Single-origin beans with a balanced chocolate finish.', * sku: 'COFFEE-001', * catalogId: 'beverages', * barcodes: [{ type: 'UPC_A', value: '012345678905' }], * tags: [{ title: 'Coffee' }], * metadata: { origin: 'Colombia', weight: '1kg' } * }) * ``` */ export declare class Product { /** Firestore collection name */ static collection: CollectionName; /** Barcodes associated with this product */ barcodes: Barcode[]; /** ID of the catalog this product belongs to */ catalogId: string | null; /** Timestamp when product was created */ createdAt: string; /** Product description */ description: string | null; /** User IDs who have favorited this product */ favorites: string[]; /** Unique identifier for the product */ id: string; /** Additional product images */ images: Image[]; /** Product measurements */ measurements: Measurements; /** Custom metadata key-value pairs */ metadata: { [key: string]: string; }; /** Stock keeping unit identifier */ sku: string | null; /** Product subtitle/secondary label */ subtitle: string | null; /** Tags for categorizing the product */ tags: Tag[]; /** Product name/title */ title: string | null; /** Timestamp when product was last updated */ updatedAt: string; constructor(data?: ConstructorData); } //# sourceMappingURL=Product.d.ts.map