import type { ClientModuleStrategy } from "../../rendering/rsc/client-module-strategy.js"; export interface HydrationLayout { kind: "mdx" | "tsx"; path: string; } export interface HydrationDataStructure { slug: string; props: Record; params: Record; layouts: HydrationLayout[]; appPath?: string; /** Project-relative path to the app-router error.tsx that wraps the page (client boundary). */ errorPath?: string; /** Project-relative directory that contains App Router routes. */ appRouterRoot?: string; /** The page and advertised client layouts mount inside a server-owned layout island. */ isolatedClientPage?: boolean; isClientPage?: boolean; pagePath?: string; pageType?: "mdx" | "md" | "tsx" | "jsx" | "ts" | "js"; clientModuleStrategy?: ClientModuleStrategy; /** Request-scoped dependency snapshot used to version RSC module imports. */ dependencyPinningCacheKey?: string; /** Production release id used to version fallback module URLs. */ releaseId?: string; /** Production release asset URLs keyed by logical source path. */ releaseAssetModules?: Record; frontmatter?: Record; /** Bounded, nonce-free route head descriptors for deterministic navigation handoff. */ managedHeadPayload?: string; layoutProps?: Record>; /** * Whether running in development mode. * In dev mode, client uses createRoot instead of hydrateRoot to avoid * hydration mismatches from compilation differences between SSR and client. */ dev?: boolean; /** Headings extracted from MDX for sidebar/TOC navigation */ headings?: Array<{ id: string; text: string; level: number; }>; /** Whether page is embedded in Studio iframe (enables node position data) */ studioEmbed?: boolean; } //# sourceMappingURL=types.d.ts.map