import { AptlyInternationalCodeDesignator } from '../enums/index.js'; import { AptlyVatCategory } from './algorithm.js'; import { AptlyMediaSrcSchema } from './media.js'; import { AptlyOption } from './option.js'; export type AptlyItem = AptlyItemSchema; export interface AptlyItemSchema { name: string; type: AptlyItemType; description: string; buyersIdentification: string; sellersIdentification: string; standardIdentification: AptlyItemStandardIdentification | null; vatCategory: AptlyVatCategory; thumbnail: AptlyMediaSrcSchema | null; producer?: string; properties: AptlyItemProperty[]; } export declare enum AptlyItemType { Physical = "physical", Digital = "digital", Service = "service", Resource = "resource", Material = "material", Category = "category", Package = "package", PackageEnd = "package-end" } export declare const AptlyItemOptionTypes: AptlyItemType[]; export declare const AptlyItemGroupTypes: AptlyItemType[]; export declare const AptlyItemEndTypes: AptlyItemType[]; export declare function aptlyItemPack>(option: T, pack: T | null): T | null; export interface AptlyItemStandardIdentification { scheme: AptlyInternationalCodeDesignator; value: string; } export interface AptlyItemProperty { name: string; value: string; }