export type AppDomain = {
    host: string;
    port?: string;
};
export declare function sanitizePreviewReturnUrlStrict(value: string | null, domain: AppDomain): URL | null;
export declare function sanitizePreviewReturnUrlLenient(input: {
    value: string | null;
    requestOrigin: string;
    requestHost: string;
    requestPort: string;
    appDomain?: AppDomain | null;
}): URL | null;
