import type { CustomMessage, EBMessage, Subscription } from '@purista/core'; import type { IHttpEventBridge } from './types/IHttpEventBridge.js'; import type { RouterFunction } from './types/RouterFunction.js'; /** * Creates the internal subscription route handler for event delivery. * * The handler accepts POST requests only, optionally unwraps CloudEvents, runs * the subscription callback, and emits a follow-up message when the callback * returns one. Subscription delivery is event reaction transport, not queue * worker execution. */ export declare const getSubscriptionHandler: (this: IHttpEventBridge, _subscription: Subscription, cb: (message: EBMessage) => Promise | undefined>, wrappedInCloudEvent?: boolean) => RouterFunction; //# sourceMappingURL=getSubscriptionHandler.impl.d.ts.map