import type { TagsMap, TraverseSpecOptions } from '../../navigation/types.js'; import type { TraversedWebhook } from '../../schemas/navigation.js'; import type { OpenApiDocument } from '../../schemas/v3.2/strict/openapi-document.js'; /** Traverses the webhooks in an OpenAPI document to build an array of webhook entries. * * This function processes each webhook in the document to: * - Filter out internal webhooks (marked with x-internal) and webhooks to ignore (marked with x-scalar-ignore) * - Group webhooks by their tags * - Create webhook entries with unique references and IDs * - Store webhook IDs and titles for mobile header navigation * * @param content - The OpenAPI document to traverse * @param tagsMap - Map of tag names to arrays of traversed entries from operations * @param tagsDict - Dictionary mapping tag names to their OpenAPI tag objects * @param entitiesMap - Map to store webhook IDs and titles for mobile header navigation * @param getWebhookId - Function to generate unique IDs for webhooks * @returns Array of untagged webhook entries */ export declare const traverseWebhooks: ({ document, tagsMap, generateId, untaggedWebhooksParentId, documentId, }: { /** Openapi document */ document: OpenApiDocument; /** The tag map from from traversing paths */ tagsMap: TagsMap; generateId: TraverseSpecOptions["generateId"]; untaggedWebhooksParentId: string; documentId: string; }) => TraversedWebhook[]; //# sourceMappingURL=traverse-webhooks.d.ts.map