@bolttech/server-side-next
Version:
This library was generated with [Nx](https://nx.dev).
17 lines (16 loc) • 589 B
TypeScript
import { NextRequest } from 'next/server';
export declare const getPageDataFromUrl: (request: NextRequest, utmSource: string, urlMap: any) => {
pageName: string;
vertical: import("dist/libs/essentials/src").Vertical;
locale: string;
flow: string;
redirectUrl: string;
partner: string;
device: {
model?: string;
type?: string;
vendor?: string;
};
viewport: string;
};
export declare const getPageFromPath: (path: string, urlMap: any) => import("../../modules/cms-processwire/types").IGetPageNameAndVerticalByPath;