import type { RawHandler } from '../types.js'; import type { HandlerDeps } from '../handler-deps.js'; /** * HTTP shape of a typed Initiative error. * * The classification itself lives in `application/initiative-error-report.ts`, shared with the * MCP adapter — the code, message and per-class details are properties of the ERROR, and the * status is the only thing this transport adds. They were two parallel `instanceof` chains and * had already drifted; see that module. */ export declare function initiativeErrorToHttp(err: unknown): { status: number; code: string; message: string; details?: unknown; }; export declare function buildInitiativeHandler(deps: HandlerDeps): RawHandler; /** Test seam: the error mapper, so `initiative-error-transport-parity` can compare it against * the MCP one without booting a server. Not re-exported from any barrel. */ export declare const __initiativeErrorToHttpForTests: typeof initiativeErrorToHttp; //# sourceMappingURL=initiative-record.d.ts.map