import * as BundledReact from "react"; import type { RuntimeAdapter } from "../../../platform/adapters/base.js"; import type { VeryfrontConfig } from "../../../config/index.js"; import type { LayoutItem, MdxBundle, MDXComponents } from "../../../types/index.js"; import type { ImportMapConfig } from "../../../modules/import-map/types.js"; import type { LayoutComponentCache } from "./component-loader.js"; import type { DependencyPinningSourceInput } from "../../../transforms/esm/package-registry.js"; import type { RenderModes } from "../../context/render-context.js"; export declare function applyLayoutsESM(pageElement: BundledReact.ReactElement, layoutBundle: MdxBundle | undefined, nestedLayouts: LayoutItem[], projectDir: string, mergedComponents: MDXComponents, tsxLayoutModuleCache: LayoutComponentCache, adapter: RuntimeAdapter, layoutDataMap: Map> | undefined, projectId: string, projectSlug: string, contentSourceId: string, modes: RenderModes, preloadedImportMap?: ImportMapConfig, reactVersion?: string, dependencyPinningCacheKey?: string, dependencyPinningDependencies?: Readonly>, dependencyPinningSource?: DependencyPinningSourceInput, moduleServerOrigin?: string, config?: VeryfrontConfig, isLocalProject?: boolean, signal?: AbortSignal): Promise; /** * Compatibility alias for layout application through the secure ESM loader. * * Accepts the same bundle format as {@link applyLayoutsESM}: compiled layout * code must be an ES module. Legacy function-body bundles (top-level * `return { default: Layout }`) are rejected with a migration error; their * synchronous evaluator was removed for security reasons and pre-dates this * alias delegating to the ESM path. * * @deprecated Use {@link applyLayoutsESM}. */ export declare function applyLayoutsFunctionBody(pageElement: BundledReact.ReactElement, layoutBundle: MdxBundle | undefined, nestedLayouts: LayoutItem[], mergedComponents: MDXComponents, tsxLayoutModuleCache: LayoutComponentCache, projectDir: string, adapter: RuntimeAdapter, layoutDataMap: Map> | undefined, projectId: string, projectSlug: string, contentSourceId: string, modes: RenderModes, reactVersion?: string, dependencyPinningCacheKey?: string, dependencyPinningDependencies?: Readonly>, dependencyPinningSource?: DependencyPinningSourceInput, moduleServerOrigin?: string, config?: VeryfrontConfig, signal?: AbortSignal, isLocalProject?: boolean): Promise; //# sourceMappingURL=applicator.d.ts.map