UNPKG

@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.

11 lines (10 loc) 595 B
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>; /** * @deprecated Not needed anymore */ export declare function initRendering(widgetRegistry: WidgetRegistry, errorComponentType: any): void;