import type { RawHandler } from '../../types.js'; import { type ContextBlockOpDeps, type ContextBlockOpErrorCode, type DeleteContextBlockOpDeps } from '../../../application/context-block-ops.js'; /** * Operation error code → HTTP status. * * Exhaustive by construction: the `never` assignment fails to compile if a new * `ContextBlockOpErrorCode` is added without a status decided for it, so a new failure mode cannot * silently inherit someone's default. */ export declare function contextBlockErrorToHttp(code: ContextBlockOpErrorCode): number; /** POST /context-blocks — thin REST wrapper over `createContextBlock`. */ export declare function buildCreateContextBlockHandler(deps: ContextBlockOpDeps): RawHandler; /** DELETE /context-blocks/:blockId — thin REST wrapper over `deleteContextBlock`. */ export declare function buildDeleteContextBlockHandler(deps: DeleteContextBlockOpDeps): RawHandler; //# sourceMappingURL=context-blocks.d.ts.map