import type { FastifySchemaValidationError } from 'fastify/types/schema';
import type { ZodError } from 'zod';
declare const ResponseSerializationError_base: import("@fastify/error").FastifyErrorConstructor<{
    code: string;
}, [{
    cause: ZodError;
}]>;
export declare class ResponseSerializationError extends ResponseSerializationError_base {
    cause: ZodError;
    method: string;
    url: string;
    constructor(cause: ZodError, method: string, url: string);
}
export declare const InvalidSchemaError: import("@fastify/error").FastifyErrorConstructor<{
    code: string;
}, [string]>;
export declare const createValidationError: (error: ZodError, method: string, url: string) => FastifySchemaValidationError[];
export {};
