import type { NextApiRequest, NextApiResponse } from "next";
import type { TRPCError } from "@trpc/server";
type OnErrorOptions = {
    error: TRPCError;
    req?: NextApiRequest;
    res?: NextApiResponse;
};
export declare function onErrorHandler({ error }: OnErrorOptions): void;
export {};
//# sourceMappingURL=onErrorHandler.d.ts.map