import type { NextApiRequest, NextApiResponse } from "next";
type Handle<T> = (req: NextApiRequest, res: NextApiResponse) => Promise<T>;
/** Allows us to get type inference from API handler responses */
export declare function defaultResponder<T>(f: Handle<T>, 
/** If set we will wrap the handle with sentry tracing */
endpointRoute?: string): (req: NextApiRequest, res: NextApiResponse) => Promise<void>;
export {};
//# sourceMappingURL=defaultResponder.d.ts.map