import { r as DevframeDefinition } from "../devframe-BuR6n9ZD.mjs"; //#region src/adapters/build.d.ts interface CreateBuildOptions { /** Output directory. Defaults to `dist-static`. */ outDir?: string; /** Absolute URL base the output is served from (default: `/`). */ base?: string; /** * Override the SPA dist directory to copy into `outDir`. When omitted * the adapter reads `devframe.cli?.distDir` — authors typically set this * once on the definition itself. */ distDir?: string; /** * Pretty-print RPC dump JSON files. Defaults to `false` so payload * shards (which can be multiple MB for graph-heavy tools) ship * minified. Set `true` when you need to diff / read the dumps by hand. */ pretty?: boolean; } /** * Produce a self-contained static deploy of a devframe: * * - Build a `mode: 'build'` context and run `devframe.setup(ctx)`. * - Copy the author's SPA dist into `/`. * - Write `/__connection.json` (`{ backend: 'static' }`) and the * sharded RPC dump under `/__rpc-dump/` so the deployed SPA * discovers both via relative paths from `document.baseURI`. * - When `def.spa` is configured, also write `/spa-loader.json` * describing the SPA's data-loader mode (`'query'` / `'upload'` / * `'none'`). The output is mount-path agnostic — the same bundle * works at `/`, `/devframe/`, or any base, no rewriting required. */ declare function createBuild(d: DevframeDefinition, options?: CreateBuildOptions): Promise; //#endregion export { CreateBuildOptions, createBuild };