/// <reference types="node" />
import { RoutesManifest } from "../../types";
import { IncomingMessage, ServerResponse } from "http";
import { Params } from "next/dist/shared/lib/router/utils/route-matcher";
export declare function getRewritePath(path: string, queryParams: Params, routesManifest: RoutesManifest, router: (uri: string) => string | null, normalisedPath: string): string | null;
export declare function isExternalRewrite(customRewrite: string): boolean;
export declare function createExternalRewriteResponse(customRewrite: string, req: IncomingMessage, res: ServerResponse): Promise<void>;
