import type { EmbeddedBundleManifest } from "../renderer/types/bundler-types.js"; import { type VeryfrontConfig } from "../../config/index.js"; export interface BuildEmbeddedOptions { projectDir: string; outDir: string; runtime: "deno" | "node" | "bun"; config?: VeryfrontConfig; } /** * Build the embedded preset bundle. * Outputs: * - outDir/embedded/manifest.json * - outDir/embedded/app.js (SSR entry) * - outDir/embedded/rsc/*.js (RSC support) * * Every entry in `manifest.routes` has a distinct `path`: a consumer needs no * precedence rule to resolve one. `/` is always the shell entry, `embedded/app.js`. */ export declare function buildEmbeddedPreset(options: BuildEmbeddedOptions): Promise<{ manifest: EmbeddedBundleManifest; pagesIndexIsShell: boolean; }>; /** @internal — exported for testing */ export declare function presetDirname(path: string): string; /** @internal — exported for testing */ export declare function presetBasename(path: string): string; /** @internal — exported for testing */ export declare function normalizeAppRoutePath(rel: string): string; /** @internal — exported for testing */ export declare function normalizePageRoutePath(relPath: string): string; /** @internal — exported for testing */ export declare function isPageFile(name: string): boolean; //# sourceMappingURL=preset.d.ts.map