import { HttpClient, NonNullablePaths, EventDefinition, MaybeContext, BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types'; import { GetDiscountIdentifiers, Discount, UpdateDiscountIdentifiers, UpdateDiscountOptions, CreateDiscountOptions, ListDiscountsOptions, ListDiscountsResponse, DiscountCreatedEnvelope, DiscountUpdatedEnvelope } from './index.typings.js'; export { AccountInfo, AccountInfoMetadata, ActionEvent, AddLoyaltyDiscount, Availability, BaseEventMetadata, Coupon, CreateDiscountRequest, CreateDiscountResponse, DayOfWeek, DayOfWeekWithLiterals, DiscountApplyToFilterOneOf, DiscountCondition, DiscountPlatform, DiscountPlatformWithLiterals, DiscountType, DiscountTypeWithLiterals, DiscountValueOneOf, DomainEvent, DomainEventBodyOneOf, Empty, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EventMetadata, FulfillmentType, FulfillmentTypeWithLiterals, GetDiscountRequest, GetDiscountResponse, IdentificationData, IdentificationDataIdOneOf, ItemIds, ListDiscountsRequest, MessageEnvelope, Money, RestoreInfo, SectionIds, SpecialHourPeriod, TimePeriod, UpdateDiscountRequest, UpdateDiscountResponse, WebhookIdentityType, WebhookIdentityTypeWithLiterals } from './index.typings.js'; declare function getDiscount$1(httpClient: HttpClient): GetDiscountSignature; interface GetDiscountSignature { /** * Retrieves a discount. * @returns Retrieved discount. * @deprecated */ (identifiers: NonNullablePaths): Promise>; } declare function updateDiscount$1(httpClient: HttpClient): UpdateDiscountSignature; interface UpdateDiscountSignature { /** * Updates a discount. * A discount can belong to a catalog, section, or dish. You can't create a discount that applies to a menu. * @returns Updated discount. * @deprecated */ (identifiers: NonNullablePaths, options: NonNullablePaths): Promise>; } declare function createDiscount$1(httpClient: HttpClient): CreateDiscountSignature; interface CreateDiscountSignature { /** * Creates a discount. * You can create discounts for catalogs, sections, or dishes. You can't create a discount that applies to a menu. * @param - ID of the catalog the discount belongs to. * @returns Created discount. * @deprecated */ (catalogId: string, options?: NonNullablePaths): Promise>; } declare function listDiscounts$1(httpClient: HttpClient): ListDiscountsSignature; interface ListDiscountsSignature { /** * Retrieves up to 1000 discounts. * @param - ID of the catalog the discounts belong to. * @deprecated */ (catalogId: string, options?: ListDiscountsOptions): Promise>; } declare const onDiscountCreated$1: EventDefinition; declare const onDiscountUpdated$1: EventDefinition; declare const getDiscount: MaybeContext & typeof getDiscount$1>; declare const updateDiscount: MaybeContext & typeof updateDiscount$1>; declare const createDiscount: MaybeContext & typeof createDiscount$1>; declare const listDiscounts: MaybeContext & typeof listDiscounts$1>; /** */ declare const onDiscountCreated: BuildEventDefinition & typeof onDiscountCreated$1; /** */ declare const onDiscountUpdated: BuildEventDefinition & typeof onDiscountUpdated$1; export { CreateDiscountOptions, Discount, DiscountCreatedEnvelope, DiscountUpdatedEnvelope, GetDiscountIdentifiers, ListDiscountsOptions, ListDiscountsResponse, UpdateDiscountIdentifiers, UpdateDiscountOptions, createDiscount, getDiscount, listDiscounts, onDiscountCreated, onDiscountUpdated, updateDiscount };