import type { FastifyPluginAsync } from "fastify";
import { type ErrorCode } from "@yinuo-ngm/errors";
export declare const ERROR_STATUS: Partial<Record<ErrorCode, number>>;
export declare function mapStatus(code: ErrorCode): number;
export declare const errorHandlerPlugin: FastifyPluginAsync;
export default errorHandlerPlugin;
