import { OriginRequestApiHandlerManifest, OriginRequestDefaultHandlerManifest, OriginRequestImageHandlerManifest, RedirectData, RoutesManifest } from "../../types";
import { CloudFrontRequest } from "aws-lambda";
import { CloudFrontResultResponse } from "aws-lambda";
import { Params } from "next/dist/shared/lib/router/utils/route-matcher";
export declare function isTrailingSlashRedirect(redirect: RedirectData, basePath: string): boolean;
export declare function getRedirectPath(path: string, queryParams: Params, routesManifest: RoutesManifest): {
    redirectPath: string;
    statusCode: number;
} | null;
export declare function createRedirectResponse(uri: string, originalQueryParams: Params, statusCode: number): CloudFrontResultResponse;
export declare function getDomainRedirectPath(request: CloudFrontRequest, buildManifest: OriginRequestDefaultHandlerManifest | OriginRequestApiHandlerManifest | OriginRequestImageHandlerManifest): string | null;
