import { f as GetEventBadgeEnvelope, a as GetEventBadgeResponse } from './interfaces-events-badges-v1-event-badges-spi.public-DfbhIIXr.js'; export { A as AlternativeUri, B as Badge, b as BadgeType, C as Context, E as Event, c as EventBadgesSpiConfig, G as GetEventBadgeRequest, d as IdentificationData, e as IdentificationDataIdOneOf, I as IdentityType, M as Money, S as SpiBaseUri, T as TicketsSummary } from './interfaces-events-badges-v1-event-badges-spi.public-DfbhIIXr.js'; import '@wix/sdk-types'; /** * Returns a badge to display on a specific event. * * Wix calls this method synchronously when the storefront or dashboard reads * events with the `BADGES` fieldset requested. For each event in the read * pipeline, Wix fans out to every applicable installed implementer in parallel. * * Wix uses the returned `badge` to surface contextual information on the event * card. If multiple badges apply, downstream UI ranks them by `badgeType` * priority and most recent implementer edit time. Aggregated badge results are * cached per site and event. * * **Error handling:** If your implementation returns an error or times out, Wix * logs the failure and omits your badge for that request. Other implementers' * badges can still appear, and no retries are performed at the service plugin layer. */ declare function getEventBadge(payload: GetEventBadgeEnvelope): GetEventBadgeResponse | Promise; export { GetEventBadgeEnvelope, GetEventBadgeResponse, getEventBadge };