import type { TRegisterErrors } from '@venizia/ignis-helpers/core'; /** Codes a client branches on for a request refused before any repository ran - by the middleware layer, or by a handler reading the validated body. */ export declare const RequestErrors: { readonly BODY_MALFORMED: { readonly message: { readonly text: "Malformed body payload"; readonly code: "core.request.body_malformed"; }; readonly statusCode: 400; readonly category: "validation"; }; readonly BODY_TOO_LARGE: { readonly message: { readonly text: "Request body is too large"; readonly code: "core.request.body_too_large"; }; readonly statusCode: 413; readonly category: "validation"; }; readonly NOTHING_TO_UPDATE: { readonly message: { readonly text: "Nothing to update"; readonly code: "core.request.nothing_to_update"; }; readonly statusCode: 400; readonly category: "validation"; }; }; /** Registers these codes with the shared key registry so a consumer gets autocomplete on `messageCode`. Augments the `/core` subpath, not the root barrel - kernel never imports the bare package, so nothing else in this program would make the root specifier resolvable for the merge. */ declare module '@venizia/ignis-helpers/core' { interface IErrorKeyRegistry extends TRegisterErrors { } } //# sourceMappingURL=errors.d.ts.map