import type { Command, CommandErrorResponse, CommandSuccessResponse, DefinitionEventBridgeConfig, EBMessageAddress, HttpExposedServiceMeta } from '@purista/core'; import type { IHttpEventBridge } from './types/IHttpEventBridge.js'; import type { RouterFunction } from './types/RouterFunction.js'; /** * Creates the internal command route handler for full PURISTA command envelopes. * * The handler accepts POST requests only, optionally unwraps CloudEvents, runs * the registered command callback with the bridge timeout, and returns the full * command response envelope. */ export declare const getCommandHandler: (this: IHttpEventBridge, _address: EBMessageAddress, cb: (message: Command) => Promise> | Readonly>>, _metadata: HttpExposedServiceMeta, _eventBridgeConfig: DefinitionEventBridgeConfig, wrappedInCloudEvent?: boolean) => RouterFunction; //# sourceMappingURL=getCommandHandler.impl.d.ts.map