import { NextApiRequest, NextApiResponse } from 'next';
import { type ApiHandlerConfig } from './base';
import { MakeswiftClient } from '../../../client';
export type ApiHandlerArgs = [NextApiRequest, NextApiResponse];
export declare const argsPattern: readonly [import("ts-pattern/dist/types/Pattern").AnyPattern, import("ts-pattern/dist/types/Pattern").AnyPattern];
export declare function config({ req, res, client, }: {
    req: NextApiRequest;
    res: NextApiResponse;
    client: MakeswiftClient;
}): Promise<ApiHandlerConfig>;
//# sourceMappingURL=pages-router.d.ts.map