import { WebhookDeliveryPayload } from "../domains/run/workflow/functions/webhookDelivery.js";

//#region src/routes/webhookDeliveryConsumer.d.ts
declare function deliverWebhook(payload: WebhookDeliveryPayload): Promise<void>;
declare function handleWebhookMessage(message: unknown, metadata: {
  messageId: string;
}): Promise<void>;
declare const POST: (requestOrEvent: Request | {
  request: Request;
}) => Promise<Response>;
//#endregion
export { POST, deliverWebhook, handleWebhookMessage };