vike
Version:
The Framework *You* Control - Next.js & Nuxt alternative for unprecedented flexibility and dependability.
10 lines (9 loc) • 677 B
TypeScript
export { preparePageContextForPublicUsageClient };
export type { PageContextForPublicUsageClient };
import type { VikeConfigPublicPageLazy } from '../../shared/getPageFiles.js';
import type { PageContextInternalClient_ServerRouting } from '../../types/PageContext.js';
import type { PageContextPrepareMinimum } from '../../shared/preparePageContextForPublicUsage.js';
type PageContextForPublicUsageClient = PageContextPrepareMinimum & PageContextInternalClient_ServerRouting & VikeConfigPublicPageLazy;
declare function preparePageContextForPublicUsageClient<PageContext extends PageContextForPublicUsageClient>(pageContext: PageContext): PageContext & {
Page: unknown;
};