vike
Version:
The Framework *You* Control - Next.js & Nuxt alternative for unprecedented flexibility and dependability.
21 lines (20 loc) • 1.17 kB
TypeScript
export { getGlobalContextClientInternal };
export type { GlobalContextClient };
import type { GlobalContextSharedPublic } from '../../shared/createGlobalContextShared.js';
type GlobalContextClient = GlobalContextSharedPublic & Pick<GlobalContextClientInternal, 'isClientSide'> & Vike.GlobalContext & Vike.GlobalContextClient & {};
type GlobalContextClientInternal = Awaited<ReturnType<typeof getGlobalContextClientInternal>>;
declare const getGlobalContextClientInternal: () => Promise<{
isGlobalContext: true;
_virtualFileExports: unknown;
_pageFilesAll: import("../../shared/getPageFiles.js").PageFile[];
_pageConfigs: import("../../__internal/index.js").PageConfig[];
_pageConfigGlobal: import("../../shared/page-configs/PageConfig.js").PageConfigGlobalRuntime;
_allPageIds: string[];
config: import("../../types/index.js").ConfigResolved;
pages: import("../../shared/page-configs/getPageConfigUserFriendly.js").PageConfigsUserFriendly;
} & {
isClientSide: true;
} & {
_pageRoutes: import("../../shared/route/loadPageRoutes.js").PageRoutes;
_onBeforeRouteHook: import("../../shared/hooks/getHook.js").Hook | null;
}>;