import { type ChildProcess } from "node:child_process"; import { type PonyProject } from "../core/index.js"; export declare const STATIC_WEB_CONFIG = "astro.static.config.mjs"; export declare const DEFAULT_STATIC_WEB_OUT_DIR = ".pony-web"; export interface StaticBuildOptions { base?: string; outDir?: string; } export interface ResolvedStaticBuildOptions { base: string; outDir: string; } export interface StaticBuildRuntime { pathExists(filePath: string): Promise; resolveAstroCli(): string; spawnProcess(command: string, args: string[], options: { cwd: string; env: NodeJS.ProcessEnv; stdio: "inherit"; }): ChildProcess; waitForExit(child: ChildProcess): Promise; } export declare function normalizeWebBase(base?: string): string; export declare function resolveStaticBuildOptions(project: PonyProject, options: StaticBuildOptions): ResolvedStaticBuildOptions; /** * Astro source belongs to the installed Pony package, while the generated * snapshot belongs to the selected workspace. Explicit paths preserve that * boundary for linked, local, and repo-installed Pony packages. */ export declare function buildStaticWeb(packageRoot: string, project: PonyProject, options: StaticBuildOptions, env?: NodeJS.ProcessEnv, runtime?: StaticBuildRuntime): Promise; //# sourceMappingURL=build.d.ts.map