import { CollectionName, ConstructorData } from '../types'; import { Barcode } from './Barcode'; import { Image } from './Image'; import { Measurements } from './Measurement'; import { Tag } from './Tag'; /** * Supported unit status types */ export declare const unitStatuses: readonly ["active", "inactive", "pending", "audited"]; /** * Represents the status of a unit */ export declare class UnitStatus { /** The date the status was created */ createdAt: string; /** Unique identifier for the status */ id: string; /** The status value */ value: (typeof unitStatuses)[number]; constructor(data?: ConstructorData); } /** * Represents an individual unit/instance of a product with specific pricing and location * @example * ```typescript * const unit = new Unit({ * productId: 'prod-123', * title: 'Vintage Coffee Grinder', * subtitle: 'Hand-Crank Burr Series', * amount: 1299, * containerId: 'bin-a1', * description: 'Retail floor unit prepared for endcap display.', * sku: 'ITEM-001', * taxable: true, * barcodes: [{ type: 'UPC_A', value: '012345678905' }], * statuses: [{ value: 'active' }] * }) * ``` */ export declare class Unit { static collection: CollectionName; amount: number; barcodes: Barcode[]; catalogId: string | null; containerId: string | null; createdAt: string; description: string | null; favorited: boolean; id: string; images: Image[]; measurements: Measurements; metadata: { [key: string]: string; }; productId: string | null; sku: string | null; statuses: UnitStatus[]; subtitle: string | null; tags: Tag[]; taxable: boolean; title: string | null; updatedAt: string; userId: string | null; constructor(data?: ConstructorData); } //# sourceMappingURL=Unit.d.ts.map