import { AutoEncoder } from '@simonbackx/simple-encoding'; export declare class OldGroupPrice extends AutoEncoder { price: number; reducedPrice: number | null; } /** * A group can have multiple prices, stored in an array. The pricing with the highest date or index is applied. */ export declare class OldGroupPrices extends AutoEncoder { id: string; startDate: Date | null; /** * Whether the array count is per member of the same family (true) or only the same member (false) */ sameMemberOnlyDiscount: boolean; /** * Count members in same category or only for the same group? */ onlySameGroup: boolean; /** * The array contains prices: for first member, second member... If more members are present in a family (or member itself), the last price is used */ prices: OldGroupPrice[]; getPriceFor(reduced: boolean, alreadyRegisteredCount?: number): number; /** * @deprecated */ private price; /** * @deprecated */ private reducedPrice; /** * @deprecated * Second member in the family */ private familyPrice; /** * @deprecated * Third or later member */ private extraFamilyPrice; } //# sourceMappingURL=OldGroupPrices.d.ts.map