import type { RouteMatch } from 'next/dist/server/route-matches/route-match'; import type { PagesAPIRouteDefinition } from 'next/dist/server/route-definitions/pages-api-route-definition'; export interface PagesAPIRouteMatch extends RouteMatch { } /** * Checks if the given match is a Pages API route match. * @param match the match to check * @returns true if the match is a Pages API route match, false otherwise */ export declare function isPagesAPIRouteMatch(match: RouteMatch): match is PagesAPIRouteMatch;