import { CloudFrontRequest } from "aws-lambda";
import { IncomingMessage } from "http";
export declare type Cookies = {
    key?: string | undefined;
    value: string;
}[];
export declare type PreviewData = {
    data: string;
};
export declare type PreviewDataPayload = {
    token?: string;
};
export declare const isValidPreviewRequest: (cookies: Cookies, previewModeSigningKey: string) => boolean;
export declare const setJerryAuth: (cloudfrontRequest: CloudFrontRequest, renderRequest: IncomingMessage, signingKey: string, encryptionKey: string) => void;
export declare const getPreviewData: (cookie: string, signingKey: string) => PreviewData | undefined;
