import { type ApiHandlerUserConfig } from '../../api-handler';
import * as AppRouter from './config/app-router';
import * as PagesRouter from './config/pages-router';
/**
 * @deprecated This type is deprecated and will be removed in a future release.
 */
export type MakeswiftApiHandlerResponse = any;
type ApiHandlerArgs = AppRouter.ApiHandlerArgs | PagesRouter.ApiHandlerArgs;
export declare function MakeswiftApiHandler(apiKey: string, { apiOrigin, runtime, ...userConfig }: ApiHandlerUserConfig): (...args: ApiHandlerArgs) => Promise<Response> | Promise<void>;
export {};
//# sourceMappingURL=index.d.ts.map