@progress/sitefinity-nextjs-sdk
Version:
Provides OOB widgets developed using the Next.js framework, which includes an abstraction layer for Sitefinity communication. Additionally, it offers an expanded API, typings, and tools for further development and integration.
8 lines (7 loc) • 553 B
TypeScript
import { Metadata } from 'next';
import { PageParams } from './page-params';
import { WidgetRegistry } from '../editor/widget-framework/widget-registry';
import { LayoutResponse } from '../rest-sdk/dto/layout-service.response';
export declare function pageLayout({ params, searchParams, relatedFields, traceContext }: PageParams): Promise<LayoutResponse>;
export declare function pageMetadata({ params, searchParams }: PageParams): Promise<Metadata>;
export declare function initRendering(widgetRegistry: WidgetRegistry, errorComponentType: any): void;