import { OriginRequestApiHandlerManifest, OriginRequestDefaultHandlerManifest, OriginRequestImageHandlerManifest, RedirectData, RoutesManifest } from "../../types";
import { CloudFrontRequest } from "aws-lambda";
import { CloudFrontResultResponse } from "aws-lambda";
export declare function isTrailingSlashRedirect(redirect: RedirectData, basePath: string): boolean;
export declare function getRedirectPath(path: string, routesManifest: RoutesManifest): {
    redirectPath: string;
    statusCode: number;
} | null;
export declare function createRedirectResponse(uri: string, querystring: string, statusCode: number): CloudFrontResultResponse;
export declare function getDomainRedirectPath(request: CloudFrontRequest, buildManifest: OriginRequestDefaultHandlerManifest | OriginRequestApiHandlerManifest | OriginRequestImageHandlerManifest): string | null;
