import { NextRequest } from 'next/server';
import { type ApiHandlerConfig } from './base';
import { MakeswiftClient } from '../../../client';
type Params = {
    [key: string]: string | string[];
};
type Context = {
    params: Promise<Params>;
};
export type ApiHandlerArgs = [NextRequest | Request, Context];
export declare const argsPattern: readonly [import("ts-pattern/dist/types/Pattern").Chainable<import("ts-pattern/dist/types/Pattern").OrP<unknown, readonly [import("ts-pattern/dist/types/Pattern").Chainable<import("ts-pattern/dist/types/Pattern").GuardP<unknown, Request>>, import("ts-pattern/dist/types/Pattern").Chainable<import("ts-pattern/dist/types/Pattern").GuardP<unknown, NextRequest>>]>>, import("ts-pattern/dist/types/Pattern").AnyPattern];
export declare function config({ req, context, client, }: {
    req: NextRequest | Request;
    context: Context;
    client: MakeswiftClient;
}): Promise<ApiHandlerConfig>;
export {};
//# sourceMappingURL=app-router.d.ts.map