import { Item, ItemOptions } from "./item"; import { Product } from "./product"; export type PromotionOptions = ItemOptions & { products: Product[]; termsUrl: string; banner?: string; quantity: number; }; export declare class Promotion extends Item { readonly products: Product[]; readonly termsUrl: string; readonly banner?: string; constructor({ stock, multipleQuantity, name, warehouseId, image, id, packagingType, products, termsUrl, banner, quantity, }: PromotionOptions); get stock(): number; get subtotal(): number; get total(): number; increase(): void; decrease(): void; set quantity(quantity: number); get quantity(): number; get regularPrice(): number; get discountedPrice(): number | undefined; get maxQuantity(): number | undefined; static fromShopCart({ products, stock, quantity, name, medium, id, warehouseId, packagingType, termsUrl, banner, }: any): any; static from({ products, quantity, stock, name, medium, id, warehouseId, packagingType, termsUrl, banner, }: any): Item; static fromCatalog({ detailsDescription, stock, quantity, name, medium, id, warehouseId, packagingType, termsUrl, banner, }: any): Promotion; clone(): Promotion; toJSON(): any; }