import type { WebhookEventTypeCategory, WebhookEventTypeSummary } from "../api/client.js"; import { type WebhookTaskOptions } from "./shared.js"; export interface WebhookEventsOptions extends WebhookTaskOptions { /** Limit results to a single catalog branch. */ category?: WebhookEventTypeCategory; } export interface WebhookEventsResult { eventTypes: WebhookEventTypeSummary[]; } /** * Discover which event-type strings the target tenant accepts for * `scai content workflow webhook create --events `. The catalog lives in Sitecore * content under `/sitecore/system/Settings/Webhooks/Event Types/` and * is tenant-customizable, so we resolve it at runtime rather than * baking a static list into the SDK. * * Output orders `item` events first, then `publish`. Within a category * the order matches the Sitecore content tree's child order — operators * see what the CMS shows them, not an alphabetized rewrite. */ export declare const runWebhookEvents: (options: WebhookEventsOptions) => Promise;