import { type NextRestFrameworkConfig } from './types';
import { type DefineApiRouteParams } from './types/define-route';
import { type NextApiRequest, type NextApiResponse } from 'next/types';
export declare const defineCatchAllApiRoute: ({ config }: {
    config: NextRestFrameworkConfig;
}) => (methodHandlers?: DefineApiRouteParams) => (req: NextApiRequest, res: NextApiResponse) => Promise<void>;
