import { FastifyError, FastifyRequest, FastifyReply } from 'fastify';
export interface ErrorResponse {
    error: string;
    message: string;
    correlationId?: string;
    timestamp: string;
    path?: string;
    statusCode?: number;
    stack?: string;
}
export declare function errorHandler(error: FastifyError | Error, request: FastifyRequest, reply: FastifyReply): void;
export declare function handleValidationError(error: FastifyError, request: FastifyRequest, reply: FastifyReply): void;
export declare function handleNotFound(request: FastifyRequest, reply: FastifyReply): void;
//# sourceMappingURL=errorHandler.d.ts.map